svn commit: r310138 - head/lib/libc/stdio

Baptiste Daroussin bapt at FreeBSD.org
Fri Dec 16 19:31:33 UTC 2016


On Fri, Dec 16, 2016 at 01:44:51AM +0000, Conrad E. Meyer wrote:
> Author: cem
> Date: Fri Dec 16 01:44:50 2016
> New Revision: 310138
> URL: https://svnweb.freebsd.org/changeset/base/310138
> 
> Log:
>   vfprintf(3): Add support for kernel %b format
>   
>   This is a direct port of the kernel %b format.
>   
>   I'm unclear on if (more) non-portable printf extensions will be a
>   problem. I think it's desirable to have userspace formats include all
>   kernel formats, but there may be competing goals I'm not aware of.
>   
>   Reviewed by:	no one, unfortunately
>   Sponsored by:	Dell EMC Isilon
>   Differential Revision:	https://reviews.freebsd.org/D8426
> 

I really don't think it is a good idea, if used in userland it would be make
more of our code difficult to port elsewhere.

Other than that, it makes more difficult to use vanilla gcc with out userland.
and it is adding more complexity to be able to build freebsd from a non freebsd
system which some people are working on.

Personnaly I would prefer to see those extensions removed from the kernel rather
than see them available in userland.

Can't we use simple helper function instead?

Best regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20161216/f2d11db5/attachment.sig>


More information about the svn-src-head mailing list