From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19099 invoked by alias); 22 Feb 2017 16:32:54 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 16983 invoked by uid 89); 22 Feb 2017 16:32:53 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy= X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: smtp.gentoo.org Date: Wed, 22 Feb 2017 16:32:00 -0000 From: Mike Frysinger To: Ulf Hermann Cc: elfutils-devel@sourceware.org Subject: Re: [PATCH] Check for existence of asprintf and vasprintf Message-ID: <20170222163249.GW28432@vapier> Mail-Followup-To: Ulf Hermann , elfutils-devel@sourceware.org References: <4efb45a7-3035-67eb-d61e-62e795afd881@qt.io> <20170222144004.GV28432@vapier> <3716c28b-6478-ee4d-50cf-0ef43e8196f3@qt.io> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="KC8G+boRvJEnfJv0" Content-Disposition: inline In-Reply-To: <3716c28b-6478-ee4d-50cf-0ef43e8196f3@qt.io> X-SW-Source: 2017-q1/txt/msg00073.txt.bz2 --KC8G+boRvJEnfJv0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 726 On 22 Feb 2017 17:01, Ulf Hermann wrote: > > these portability replacements are starting to get out of hand >=20 > To what extent should elfutils be portable to non-GNU systems? My goal he= re is to port it to windows while minimizing the amount of external depende= ncies I have to add. The functions I have replaced so far are so trivial th= at I didn't consider it worthwhile to import things from gnulib in order to= provide them. imo, elfutils shouldn't be growing these fallback implementations itself. if you want to do this stuff, use gnulib instead. then there is no ifdef hell in the source files, and you don't have to worry about testing whether the ifdef's are correct because gnulib did it all for you. -mike --KC8G+boRvJEnfJv0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-length: 833 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEuQK1JxMl+JKsJRrUQWM7n+g39YEFAlitvTEACgkQQWM7n+g3 9YHUBQ//d11T9Q3Df0fUlPMaB4Kd8hMDv3Sk7yuu9q2DrYOJomxD7zC0UgnxeXhU BYvQHRRz3XxpZS3K/nudcCFZ3xHCZdvdl8zpbQQUzaIkhlR3anx2FzhupuY+bhHr 4QNyK57gd47UWWmkfiOZnRrC5dZjx9Lu857DyiJpQrzD/W+p3v5SlXUgASPHZJv4 CiP3JG64CM2q2KK/uziu2gGKvB2q+cYXBp3LFXZ9cHwS5poYd3y/tiRNsbH58Wtn N4Sjd7RkfccIH0fapL3b1nTnigl6g3K55aqUUY8AcBu+CLfoxK1mua924JnwV9LA zvoW6WwPKv0S6EntnUa7RfbMkEU4UjJLxQJ3eO4KHLke/6+ApQ/1ytBy1+LerVXL weV4BkKrC8wnE22yZp7BRAKeY1SfOva1slisOWxbYdYRfQiUUQm6AjJvE1bQylTv 7FY9qtTsCgJzOztaIbppEx9tItz57dCQNnNWxRomRKLnsPIlSDkgOB3E1vJK9PkD ic/mLg+WdXz9WXt24nxGo52MPkNmy9y8IqqLShaKqeytqFllr+tMg4OsolpilTPD 1E6KMxBKXj4R6Zdq5ZZ9cF97WXMuttPpne52TjXtpqAqE7o44LcbTla6CqaRph5u VzGmAJQm54DDqoIaE3DxXyPp2bKqXDQ7zEZZGywJWtavKssNzNs= =/wzy -----END PGP SIGNATURE----- --KC8G+boRvJEnfJv0--