OpenBSD/xenocara xcZiLVX — xserver/xkb xkbtext.c
MFC: xkb: Escape non-printable characters correctly XkbStringText escapes non-printable characters using octal numbers. Such escape sequence would be at most 5 characters long ("\0123"), so it reserves 5 bytes in the buffer. Due to char->unsigned int conversion, it would print much longer string for negative numbers.
Version | Delta | File | |
---|---|---|---|
1.9 | +1 | -1 | xserver/xkb/xkbtext.c |
+1 | -1 | 1 files |