X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-6.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <4D8A3206.7070502@redhat.com> Date: Wed, 23 Mar 2011 11:46:46 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Broken autoconf mmap test References: <4D8668C6 DOT 8020500 AT cornell DOT edu> <4D890D95 DOT 6090302 AT redhat DOT com> <4D891A55 DOT 6050601 AT cornell DOT edu> <20110323091921 DOT GB10657 AT calimero DOT vinschen DOT de> <4D89D4AA DOT 6070903 AT cornell DOT edu> <20110323132622 DOT GM31220 AT calimero DOT vinschen DOT de> <4D89FEC7 DOT 3000107 AT cornell DOT edu> <20110323154421 DOT GN31220 AT calimero DOT vinschen DOT de> <4D8A308F DOT 508 AT cornell DOT edu> In-Reply-To: <4D8A308F.508@cornell.edu> OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="------------enig8F6453832A104F63738C7846" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com --------------enig8F6453832A104F63738C7846 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 03/23/2011 11:40 AM, Ken Brown wrote: >> Usually it shouldn't. While you can write into a mmaped area beyond >> EOF up to the end of the last page, it doesn't make a lot of sense. >> The data will never show up in the mapped file. >> >> I have no idea if there are applications out there which rely on this >> crude behaviour. >=20 > It doesn't look like there's going to be an autoconf change to resolve > this: >=20 > http://lists.gnu.org/archive/html/autoconf/2011-03/msg00041.html Unless the right thing to do in autoconf is to separate the test into two levels; one of whether most mmap works but you can't extend files (cygwin always passes) and one whether writing beyond EOF works as required by POSIX (cygwin currently fails on W64, but hopefully fewer packages rely on this stricter behavior). Or figure out a way to make cygwin work around the W64 limitations. --=20 Eric Blake eblake AT redhat DOT com +1-801-349-2682 Libvirt virtualization library http://libvirt.org --------------enig8F6453832A104F63738C7846 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.11 (GNU/Linux) Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iQEcBAEBCAAGBQJNijIGAAoJEKeha0olJ0Nqa0YH/ja7v6Oe7f1X5TXBXs8TOsey 5Z9tukdK9nHQA0KObFB7xIdpY+l9Vt0LCwLPXz+7tE9NqFa63Fv+0VwmKy9OWbO4 GFsOcJinRWPvuYiwcNucljWFxUWTmoJC1Klc18xQSBCGbCPXmVjGbl4QeKou+Tk1 DhiXxBaBBpkoWgHyU/qzJBvnJlVe0PoC/6cBP/xtPkWv6k05n0T6mpW8hZgwykVN dGwwGa1eT1Th8Uy12Au7Zv7HEbIxECGABhTaG4Vrf0wSPFVVNKSSKnNRgNSMR+wM eGs1BdhrLRh/Hbz+5zw1Bh3jqYyopFfrGOPm/3KMrXritd//07mCfJqXQD+pVgo= =Ljty -----END PGP SIGNATURE----- --------------enig8F6453832A104F63738C7846--