[PATCH] os: automatically switch to sigsafe logging when needed
Keith Packard
keithp at keithp.com
Thu May 22 17:54:07 PDT 2014
Peter Hutterer <peter.hutterer at who-t.net> writes:
> If we're smart enough to warn, we should be smart enough to just pass it
> through to the right function. Worst case we lose some formatting specifiers
> which pnprintf will complain about anyway. And in most cases it won't matter.
>
> This requires renaming pnprintf to vpnprintf and changing the size_t to int to
> be compatible with Xvscnprintf. pnprintf is internal only, the others are
> exported API so we can't change them as easily.
>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Keith Packard <keithp at keithp.com>
--
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 810 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20140522/f33d3a3b/attachment.sig>
More information about the xorg-devel
mailing list