syslogd/sysklogd-1.4.1-utf8.patch
OBS User autobuild 2904bd5cd4 Accepting request 25079 from Base:System
Copy from Base:System/syslogd based on submit request 25079 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/25079
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/syslogd?expand=0&rev=22
2009-11-27 13:54:43 +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);