Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Dec 2016 20:31:28 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        "Conrad E. Meyer" <cem@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r310138 - head/lib/libc/stdio
Message-ID:  <20161216193128.wgskqt4vc44vdd7o@ivaldir.etoilebsd.net>
In-Reply-To: <201612160144.uBG1ipjW016736@repo.freebsd.org>
References:  <201612160144.uBG1ipjW016736@repo.freebsd.org>

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

--zefxcl2ldqg6x2lx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   vfprintf(3): Add support for kernel %b format
>  =20
>   This is a direct port of the kernel %b format.
>  =20
>   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.
>  =20
>   Reviewed by:	no one, unfortunately
>   Sponsored by:	Dell EMC Isilon
>   Differential Revision:	https://reviews.freebsd.org/D8426
>=20

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 userla=
nd.
and it is adding more complexity to be able to build freebsd from a non fre=
ebsd
system which some people are working on.

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

Can't we use simple helper function instead?

Best regards,
Bapt

--zefxcl2ldqg6x2lx
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAlhUQQgACgkQY4mL3PG3
PlqeFg/+LO2FgR84cjhm0HvNZJnX6xvM0bp4i//YGTUiby6OSH2KnXFFUfJB1QPH
mukfvUuOcLuLGTkWBt0j3PP+A7XrkAjXOOxV+4R6xdGzCikxKuemsmf5W08xcTm7
TteIdibfsZOR3dWRk4SZQd8KCyHxHFc/o5rVFrpTxkU4M/EoHNVuy2lkGGxS0hwb
Viu0A4hkCHRYo53D6evN0SP0GhzkaQ755F6VMJ6GCO9FXAg0rFaOtF9AMUrRZ0kQ
wfPWSDw6YOa/WhpA+5dFF0TdPZqhfV5uSKv6W8V2CSJtl3pjf/eLSzb95j9ilxsH
w2aWUwktQsHVW8a1ubPgagRifEvKeja+1DWsDMvwB0RNcK6PIM3H+rXid7LA/j8V
vhvftA6em6xWznqLdDsmkndaXqsKlWUJZr/ojhLFBwBmqD/L1l7tnXPtkeHpuqSF
Q4F2ggyLDYCN4bGy+/WGy9mBMDCud1DXl5BN7rVZLuwho5AhF6Bu/9coZNltHhvA
kCq+kl1PRBvhxoam69UDhQ1KMPlC+xepntaFywCuA8aQ/LxwzWeCZAUepdxyQI6k
z7AbPnk/0Sahvgx9uy4x3dMaW4aodfr6F6zVKI8BMETctoAYw5kXOAMy/rTCjqBZ
IxmOHIwrL5t8sPhBDP5rmf4zOeV8AHZLifxsTJgkVoFQwxINJ4s=
=G9j0
-----END PGP SIGNATURE-----

--zefxcl2ldqg6x2lx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20161216193128.wgskqt4vc44vdd7o>