X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=dNeSoC/RzcETvWkZxckkpp3qLIx9bYeC/FGmdrtxrVY39aGGdbw0+
	YP5HsqOkdamXXfOormCqt+sGsFGcfWF2xLyJqYMFs2G0XjBd3tlRWHcwZHp81lnp
	tpXMPfBB6LmnXSouwHwGnyI6UKnJlWcP8fEyxh6hWSVywV6h82x/j8=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=qHtL7v+jx1YjfLIdg4jceIQwgkI=; b=xGe5wg1QAnJMEaIYr8XxdJkBUe0d
	bIMrOYzZhU0bJBfGe2pWLrIYnt1NxTT4gGVyF2wt1NtD0+jEz4x5XZYrAi6Janiz
	z5qJ3AZFiQCpFkVr8JynXJ8ObnofK/MJQKiP/m5K2McGJiMmEKN49R3wtyG6isEA
	d8bosD0dCeNOAQM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-4.1 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 4 Nov 2015 10:45:40 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: fstat st_size on open files on Parallels filesystem is wrong
Message-ID: <20151104094540.GA23227@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <20140423172413.GQ2339@calimero.vinschen.de> <22038.38637.802707.846218@compute03.cs.columbia.edu> <20151021110734.GO5319@calimero.vinschen.de> <22071.12068.858109.210047@compute03.cs.columbia.edu> <20151102112334.GC5319@calimero.vinschen.de> <22071.24647.434328.551494@compute03.cs.columbia.edu> <20151102140627.GA963@calimero.vinschen.de> <22071.56848.992859.797169@compute03.cs.columbia.edu> <20151103121910.GB18567@calimero.vinschen.de> <22073.42807.638243.560521@compute03.cs.columbia.edu>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI"
Content-Disposition: inline
In-Reply-To: <22073.42807.638243.560521@compute03.cs.columbia.edu>
User-Agent: Mutt/1.5.23 (2014-03-12)

--+HP7ph2BbKc20aGI
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Nov  4 01:35, Jonathan Lennox wrote:
> On Tuesday, November 3 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.c=
om" saying:
>=20
> > Btw., there's more than one problem here.  The fact that all drives
> > have the same volume name *and* a serial number of 0 leads to all
> > drives being identified as the same drive.  I have to add some code
> > creating a reproducible serial number from scratch if the original
> > serial number is 0, but for testing, I didn't implement this yet.
>=20
> I've confirmed that this is the case for all the prlsf drives I have (dri=
ves
> U:-Z:).
>=20
> > Talking about testing.  I created a test DLL which provides a lot
> > of output when stracing the calls.  I'll send you a private mail
> > with the URL to this DLL in a minute.  Please install it, and under
> > that DLL, run
> >=20
> >   $ strace -o stat.trace ./stat-size-test.exe /cygdrive/y/foo
> >=20
> > I'll need to have a look into that strace to (hopefully) see what's
> > going wrong.
>=20
> Attached.

Thanks, but...  are you sure you created this with the test DLL I sent
you the URL for?  The attached strace looks like stock Cygwin.  It
doesn't contain any of the additional strace output the DLL is supposed
to generate and some of it is in a code path you can't avoid when
calling functions on files.

I'll upload a new DLL to the URL I mentioned in PM in a minute, just to
be sure I didn't screw this up myself.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--+HP7ph2BbKc20aGI
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJWOdPEAAoJEPU2Bp2uRE+gCFMP/0MKIxqrH1HqzsrKHpFfuPbp
wwvWSiyUYRa/SNztFwdD9P8whmSWVpAIZtt+ly9SI7XX5XLKticnYaBWGPDuYd0L
s/fI+/jfKLA5gc9Rs1H28+rUP1KjOj++6QM8WLzcRHk/+2pn+ZqatsK1WMW0My91
1veHBV8PBHUOgHhb1pa5OrUKAE6eP08Ml6ffiGmKTR+b0TxvhNpGf8+Tdf3h4zOS
fVVawFQyuW2sqxHXgevbshIlRFLy303IV0VJj8f4jniVYpCgI0/e+0OKeXObvL+d
qA7Cabv/SStIP5BUR+J4ylZVSedaEvQ51cdL4ESL2Ybw2r6cew9vnOCiZU8LUpnL
FBnoZco2114YYw+4RKsvS1Q+3gphP5SBk7nkTVf2OpgATuVxqvpvfrzUY6Rxa7hA
/Qc4XH41slxbkM3FwPuEcUtvdrPHIIBuvAsgB31C6JWVsbPBcEvwToUNTNxW4SiX
5iaXpMsImsjK4Z1ia/lnK0CqYx9nskGnbJgKEAmHcVhXJ+LKOBE1cFLd0GLFcHHS
hf1X/9YOi/nJCLWA9vTYDlwODpG0RSP3HZZET3t+GOnjdfIQo5VqpBXVmLVcUiQ7
jUy8j6ZG0G9GL1ys28M9BSHse3jYv2ltAlD8idorKLGuhvynauCFXjsLapD+F7iD
NFdRLI8N4oI0usEiGKlv
=Eklk
-----END PGP SIGNATURE-----

--+HP7ph2BbKc20aGI--
