delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/04/04:46:05

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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 AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: fstat st_size on open files on Parallels filesystem is wrong
Message-ID: <20151104094540.GA23227@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20140423172413 DOT GQ2339 AT calimero DOT vinschen DOT de> <22038 DOT 38637 DOT 802707 DOT 846218 AT compute03 DOT cs DOT columbia DOT edu> <20151021110734 DOT GO5319 AT calimero DOT vinschen DOT de> <22071 DOT 12068 DOT 858109 DOT 210047 AT compute03 DOT cs DOT columbia DOT edu> <20151102112334 DOT GC5319 AT calimero DOT vinschen DOT de> <22071 DOT 24647 DOT 434328 DOT 551494 AT compute03 DOT cs DOT columbia DOT edu> <20151102140627 DOT GA963 AT calimero DOT vinschen DOT de> <22071 DOT 56848 DOT 992859 DOT 797169 AT compute03 DOT cs DOT columbia DOT edu> <20151103121910 DOT GB18567 AT calimero DOT vinschen DOT de> <22073 DOT 42807 DOT 638243 DOT 560521 AT compute03 DOT cs DOT columbia DOT edu>
MIME-Version: 1.0
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 AT cygwin DOT 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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019