From owner-svn-src-all@freebsd.org Fri Dec 16 19:31:33 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 096BCC83E4B; Fri, 16 Dec 2016 19:31:33 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wj0-x242.google.com (mail-wj0-x242.google.com [IPv6:2a00:1450:400c:c01::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id A40D566A; Fri, 16 Dec 2016 19:31:32 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wj0-x242.google.com with SMTP id j10so15668068wjb.3; Fri, 16 Dec 2016 11:31:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=11dpoyA08vl5c4hxXP12PCYCSezeim/J18U5Kb6P0ug=; b=kbEZsg98WdPAV4CexyQwDkHrmEBo03ZliRbUwhoZ1QgGIezg5alaGTtvDrDZtgi1dm SMvcbUwEYmG0nENqGoiMTFkfw+IQXrZFlAJqYHgzNbxAwdWkz32+nA85ugk7j9hlwPal 9H1TktnZ2I4IB5Cx0/JzEtitaAKUQ9TknVx7aRmDiRYbJvqtzSj/LXOIIcI8yhsiH2Q2 5TZb6n6IAY9+f489m4fefyEFFgd+rVoDbmf+W0pmVv8ReDhGxk4+0WzZrGyDrHFWKAcG uEGk+7LlNuinGXAkXmdWXmnlsgVRhj8S05hkKpiP7049aMfulhsh6otkXsHVJKb8wR9A P1OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=11dpoyA08vl5c4hxXP12PCYCSezeim/J18U5Kb6P0ug=; b=r3dUJr0P0BonnKiVj0dLMMKu8S44C+fj0uv8b/Ex9M7c3LyOw7zkVKeMaPS7N2EidC kYweeUq503e15igZ+WqNOv3kBdQrjC+FXRJaPEMCl6H3vge2vyWYSvxRpA35XCqeFQMP M2BJ98c3mJ2kgH6OaVHvqyQVZo++3G/g1ooJZDS8xh22rvo7PAPBIUVyYXYd5+HUglDT /lgt4Z45UwjB4ZQpX/IUQe6S88u0CtgV6zrw1rWyf5iTTadTQ4XZhKxmMH2dKhkeQUak lfu+Hx1+qiwPLMYaS3mGuLSm3HgihDlmLaWT4zcqWEMm2gGLxFAovLsM81QJ1nwEIR0S Jbiw== X-Gm-Message-State: AKaTC02p5b2YczbVYPmRiGlViN2PiF26DfKm+DGO+kWkHZRT5CCtErnFTVTB0hflavJpFg== X-Received: by 10.194.2.110 with SMTP id 14mr4042572wjt.206.1481916690455; Fri, 16 Dec 2016 11:31:30 -0800 (PST) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id w18sm4724290wme.9.2016.12.16.11.31.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Dec 2016 11:31:29 -0800 (PST) Sender: Baptiste Daroussin Date: Fri, 16 Dec 2016 20:31:28 +0100 From: Baptiste Daroussin To: "Conrad E. Meyer" 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> References: <201612160144.uBG1ipjW016736@repo.freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="zefxcl2ldqg6x2lx" Content-Disposition: inline In-Reply-To: <201612160144.uBG1ipjW016736@repo.freebsd.org> User-Agent: NeoMutt/20161126 (1.7.1) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2016 19:31:33 -0000 --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--