syslogd/sysklogd-1.4.1-utf8.patch
Dirk Mueller 2144a0b3f4 Accepting request 28151 from home:jengelh:branches:Base:System
Copy from home:jengelh:branches:Base:System/syslogd via accept of submit request 28151 revision 3.
Request was accepted with message:
thanks!

OBS-URL: https://build.opensuse.org/request/show/28151
OBS-URL: https://build.opensuse.org/package/show/Base:System/syslogd?expand=0&rev=12
2010-01-06 17:06:41 +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);