syslogd/sysklogd-1.4.1-utf8.patch
Marcus Meissner 53bbc01f78 Accepting request 24994 from home:elvigia:branches:Base:System
Copy from home:elvigia:branches:Base:System/syslogd via accept of submit request 24994 revision 2.
Request was accepted with message:
ok

OBS-URL: https://build.opensuse.org/request/show/24994
OBS-URL: https://build.opensuse.org/package/show/Base:System/syslogd?expand=0&rev=10
2009-11-25 15:23:34 +00:00

14 lines
475 B
Diff

Index: syslogd.c
===================================================================
--- syslogd.c.orig 2009-11-24 18:12:55.320216000 +0100
+++ syslogd.c 2009-11-24 18:12:55.787215000 +0100
@@ -1538,7 +1538,7 @@ void printline(hname, msg)
else if (c < 040) {
*q++ = '^';
*q++ = c ^ 0100;
- } else if (c == 0177 || (c & 0177) < 040) {
+ } else if (c == 0177 || c >= 0376) {
*q++ = '\\';
*q++ = '0' + ((c & 0300) >> 6);
*q++ = '0' + ((c & 0070) >> 3);