From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62471 invoked by alias); 31 Jul 2017 10:08:40 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 62461 invoked by uid 89); 31 Jul 2017 10:08:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:656, iu, H*f:rYNqJHGB, H*i:sk:YnNk9my X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 31 Jul 2017 10:08:38 +0000 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 0E64C107D86 for ; Mon, 31 Jul 2017 10:08:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 0E64C107D86 Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=vinschen@redhat.com Received: from calimero.vinschen.de (ovpn-117-128.ams2.redhat.com [10.36.117.128]) by smtp.corp.redhat.com (Postfix) with ESMTP id C4E8C17DD6 for ; Mon, 31 Jul 2017 10:08:36 +0000 (UTC) Received: by calimero.vinschen.de (Postfix, from userid 500) id 87FA0A805CF; Mon, 31 Jul 2017 12:08:35 +0200 (CEST) Date: Mon, 31 Jul 2017 10:08:00 -0000 From: Corinna Vinschen To: newlib@sourceware.org Subject: Re: Importing inttypes methods Message-ID: <20170731100835.GL24013@calimero.vinschen.de> Reply-To: newlib@sourceware.org Mail-Followup-To: newlib@sourceware.org References: <20170728104304.GA24013@calimero.vinschen.de> <20170728130803.GD24013@calimero.vinschen.de> <20170728182942.GE24013@calimero.vinschen.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="jITzwD3HDGXid3BE" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.8.3 (2017-05-23) X-SW-Source: 2017/txt/msg00702.txt.bz2 --jITzwD3HDGXid3BE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 631 On Jul 30 11:41, Gedare Bloom wrote: > All, >=20 > It looks like to me like the str*_l functions in stdlib.h currently > are actually being guarded by __GNU_VISIBLE rather than __BSD_VISIBLE. > You should see if these locale functions from BSD are in glibc, if so > then I believe GNU_VISIBLE is the more appropriate guard? Someone more > knowledgeable on the feature test macros might comment. Yes, the functions are guarded with __GNU_VISIBLE, just as in glibc. No, the {str,wcs}to{i,u}max_l functions are not defined in glibc at all, so they should be __BSD_VISIBLE. Corinna --=20 Corinna Vinschen Cygwin Maintainer Red Hat --jITzwD3HDGXid3BE Content-Type: application/pgp-signature; name="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZfwGjAAoJEPU2Bp2uRE+goLoP/2Bn48AWuTdQtalvqzwsgaR4 2lVmd1Kj/QJCnkr7tEVk9HGvVGE3NK6xpQnfOUVuvTA1XGV+pMRF9artbwSiI8dk KF6XxEciMcwahXUvsehLJ9avPljwt2mQbWFdA03BQeXgjNpP3xtwGeDk+3AqzFfE BcK7yjKJF1WxshSWPHoWPlIlr1TpGmxY5JdbTGL1oAIo3BFvW6xKrXI1l2CAsHbN ZCohCGx5Wz87njIP9FFgrFcpeecGpBlf+3S86U5T4CmvlYPNK0iJa+baCgc2ehD9 BScBzn1gTvYM9m0S2oGMeIt4ngzjEOQN/62Tf5H8sN7Y0+33mmbUP4iD0L9/Yshs BIAPvADo3Rj+drItvy6lTa8zVfvhX3Gf/QiD3mdrnPTD0XDSFNYUeNlb0kupYq9g x5Vwy028kEC830JMvhPDqtyaSJo9jfXxGPZMAHCk35CB3l+SUmdDz+fxXLOKojmQ B2fDYJug69kIilpBNlv7RuwieJX7cg3h+vrflnq725begZKCTFg9R/KsANwMLObQ axjGqlPbmXcpgNVP6Zs2Gph6okdeE3bvs2hOuQywntRwYhdrueKtYK999nrR5LMb YUu5mlCe4iltMZOr5g4BwIB576Zdtu0YGWrym6iY2Cbll9V56xL9BJ7Tt/4RxFrF tbYLueb12M+8fj1PkN6y =Hdbd -----END PGP SIGNATURE----- --jITzwD3HDGXid3BE--