From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVQ8d-00027u-Rv for qemu-devel@nongnu.org; Thu, 25 Apr 2013 13:39:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVQ8Z-0004fU-VW for qemu-devel@nongnu.org; Thu, 25 Apr 2013 13:39:19 -0400 Received: from mx1.redhat.com ([209.132.183.28]:6067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVQ8Z-0004fB-OS for qemu-devel@nongnu.org; Thu, 25 Apr 2013 13:39:15 -0400 Message-ID: <51796A39.3020003@redhat.com> Date: Thu, 25 Apr 2013 11:39:05 -0600 From: Eric Blake MIME-Version: 1.0 References: <20130425064701.GA9899@mail.duskware.de> <51790742.1050906@twiddle.net> <517931E6.1060709@redhat.com> <51796350.9080306@twiddle.net> In-Reply-To: <51796350.9080306@twiddle.net> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2BQASDRNGJDVLJTJTRTWD" Subject: Re: [Qemu-devel] Git head build problem (popcountl vs. system headers) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: Martin Husemann , Laszlo Ersek , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2BQASDRNGJDVLJTJTRTWD Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 04/25/2013 11:09 AM, Richard Henderson wrote: > On 2013-04-25 14:38, Laszlo Ersek wrote: >>> is the K&R header supplanted by ISO . >>> Is there any good reason that we're including it at all? >> >> - is a portable SUS/POSIX header: >> >> http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/strings.h.htm= l >=20 > Huh. Ok, fine, but what do we think we're using out of it that > isn't in ? strcasecmp(). Just because some (many) systems pollute with strcasecmp() without you having to explicitly include (and POSIX allows but not requires this: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#= tag_15_02_02 says that the str* prefix is reserved in ), a strictly-conforming implementation cannot rely on this extension, and there are systems where you have to get strcasecmp() from , just as POSIX requires. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org ------enig2BQASDRNGJDVLJTJTRTWD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.13 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJReWo5AAoJEKeha0olJ0NqnbQH/idl7OGJNgQ7QQt82sm+dxc2 z7WxZEewqLCBvc+IrIdIuyDn0gZoG4uARXMpkQV3+4FCmzyGVqFS1MVhupOocKZG yLfdF/7pS4VKl4R0HBzZkOKVpuGnk8lUpkDaMvcFtOi1QFmzdBxcdupI4Nr9YNwv 3jcnBsvWz5VdFpjo1xt9PTP/c5k98yzM4SrJlc4ZukMdHlchksMGgMjYU59cjnRL 5HsmKTnUDXZgvct06EXmmSYIITcnRu7eQ2yWVLDiev7EUUByH5d8Uzr4YlK++Wr8 gaUU6ycDazBkBddNLxrtL/8k6rYWYsTtKtL2fs1LPZFuDUO6srtkbYGUqqhF74w= =oF94 -----END PGP SIGNATURE----- ------enig2BQASDRNGJDVLJTJTRTWD--