Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2020 13:10:19 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 244226] [patch] syslogd converts all 8-bit chars to M-x sequences
Message-ID:  <bug-244226-227-CTk570vJd6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244226-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244226-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244226

J.R. Oldroyd <fbsd@opal.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #211760|0                           |1
        is obsolete|                            |

--- Comment #4 from J.R. Oldroyd <fbsd@opal.com> ---
Created attachment 211894
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211894&action=edit
patch to add locale support to syslogd when converting strings to "safe"
sequences

Updated patch to do better output buffer space checking and also to use the
MB_LEN_MAX constant for the input size limit.  In addition, I switched from
using iswgraph() to iswprint() because locale-specific space chars can also be
copied as they are.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244226-227-CTk570vJd6>