svn commit: r285803 - head/bin/ls
Pedro Giffuni
pfg at FreeBSD.org
Fri Jul 24 19:47:50 UTC 2015
On 07/24/15 14:10, Allan Jude wrote:
> ...
>
> The r285734 change didn't explicitly cast some references to uid_t,
> resulting in a segfault on i386. Clang generated a warning about this
> immediately while I was debugging when I duplicated the xo_emit
> command as a printf.
>
> Can we teach our clang that xo_emit is printf, and so the same
> formatting type matching should be checked? That would be very helpful.
>
Perhaps something like this? (untested)
Pedro.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libxo-printflike.diff
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150724/28a09452/attachment.bin>
More information about the svn-src-all
mailing list