Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-03 Thread Jonathan Lennox
49 [main] stat-size-test 3620 pinfo::exit: Calling ExitProcess n 0x0, exitcode 0x0 --- Process 3620 thread 6728 exited with status 0x0 --- Process 3620 thread 3204 exited with status 0x0 --- Process 3620 thread 3716 exited with status 0x0 --- Process 3620 thread 444 exited with status 0x0 --- Process 3620 exited with status 0x0 -- Jonathan Lennox len...@cs.columbia.edu -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-02 Thread Jonathan Lennox
On Monday, November 2 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" saying: > On Nov 2 08:08, Jonathan Lennox wrote: > > On Monday, November 2 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" > > saying: > > > &

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-02 Thread Jonathan Lennox
On Monday, November 2 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" saying: > On Nov 2 04:38, Jonathan Lennox wrote: > > Unfortunately, when I do "Run As Administrator" on MinTTY, the Mac drives > > (/cygdrive/z and /cygdrive/y) don't

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-11-02 Thread Jonathan Lennox
On Wednesday, October 21 2015, "Corinna Vinschen" wrote to "cygwin@cygwin.com" saying: > On Oct 8 12:16, Jonathan Lennox wrote: > > Hi, following up on this issue from last year. The message I'm replying to > > is at <https://cygwin.com/ml/cygwin/2014

Re: fstat st_size on open files on Parallels filesystem is wrong

2015-10-08 Thread Jonathan Lennox
use the > FileId as inode number on filesystems with FILE_PERSISTENT_ACLS==FALSE > so, never mind. > > OTOH, does it support hardlinks? If so, two hardlinks to the > same file would have different inode numbers on Cygwin. How would I figure these points out? -- Jonathan

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-23 Thread lennox
t;, argv[i], geterr(ntstatus), ntstatus); } else { printf("%s: NtQueryInformationFile(FileStandardInformation): EndOfFile=%" PRIu64 "\n", argv[i], (uint64_t

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-22 Thread lennox
On Tuesday, April 22 2014, "Corinna Vinschen" wrote to "cygwin at cygwin.com" saying: > On Apr 21 14:46, lennox at cs.columbia.edu wrote: > > On Monday, April 21 2014, "Andrey Repin" wrote to "lennox at > > cs.columbia.edu, cygwin at c

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-22 Thread lennox
On Tuesday, April 22 2014, "Corinna Vinschen" wrote to "cygwin at cygwin.com" saying: > On Apr 21 14:46, lennox at cs.columbia.edu wrote: > > On Monday, April 21 2014, "Andrey Repin" wrote to "lennox at > > cs.columbia.edu, cygwin at c

Re: fstat st_size on open files on Parallels filesystem is wrong

2014-04-21 Thread lennox
On Monday, April 21 2014, "Andrey Repin" wrote to "lennox at cs.columbia.edu, cygwin at cygwin.com" saying: > Greetings, lennox at cs.columbia.edu! > > > I’m running cygwin64 1.7.29 in a Windows 8.1 Pro virtual machine, running in > > Parallel

fstat st_size on open files on Parallels filesystem is wrong

2014-04-21 Thread lennox
I’m running cygwin64 1.7.29 in a Windows 8.1 Pro virtual machine, running in Parallels Desktop 9.0.24229 on Mac OS X 10.9.2. Parallels Desktop automatically mounts my Mac OS X home directory as a Z: drive in Windows. Cygwin mount reports this drive as being type "prlsf". Unfortunately, I've disc

Re: TZ=CEST not detected

2010-03-01 Thread lennox
To pick the proper time zone name for your region, run the /usr/sbin/tzselect tool. Based on your e-mail address, I'd suspect you want "Europe/Vienna". -- Jonathan Lennox lennox at cs dot columbia dot edu -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

[1.7] cygwin inet_ntop prints IPv6 addresses in upper-case.

2009-03-26 Thread lennox
to print lower-case hex, though. Cygwin: $ ~/inet-ntop-test.exe 2002:8281:52fc:5:34cb:4e60:950b:82b5 2002:8281:52fc:5:34cb:4e60:950b:82b5 -> 2002:8281:52FC:5:34CB:4E60:950B:82B5 Linux: $ ./inet-ntop-test 2002:8281:52fc:5:34cb:4e60:950b:82b5 2002:8281:52fc:5:34cb:4e60:950b:82b5 -> 2002:8281:

Re: Strange things with cygdrive

2008-07-22 Thread lennox
hat directory to change. Actually keeping track of this is probably not worth the effort, though (especially since it's not clear where you'd store it). -- Jonathan Lennox lennox at cs dot columbia dot edu -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Prob

Managed mounts fail to support some legal POSIX filenames

2007-02-20 Thread Jonathan Lennox
kier, since you'd want to keep compatibility with filenames containing tildes on existing managed mounts. -- Jonathan Lennox lennox at cs dot columbia dot edu -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentat

Re: Surprising results (ls: no such file or directory) with managed mounts

2007-02-19 Thread Jonathan Lennox
On Tuesday, February 20 2007, "Eric Blake" wrote to "Jonathan Lennox, cygwin@cygwin.com" saying: > > Cygwin managed mounts give surprising (to me) results if a filename that's > > not in its canonical form manages to get below the managed mountpoint: &g

Surprising results (ls: no such file or directory) with managed mounts

2007-02-19 Thread Jonathan Lennox
id Win32 name for the file. (I haven't been able to construct any other Win32 filenames that don't map to a valid managed-POSIX filename.) Is there a downside to this, other than an extra call to cyg_tolower in fnunmunge? -- Jonathan Lennox lennox at cs dot columbia dot edu -- Uns

Cygwin's ioctl(SIOCGIFFLAGS) always sets the IFF_UP flag

2006-12-29 Thread Jonathan Lennox
printf(" addr=%s", inet_ntoa(((struct sockaddr_in*)(&ifr->ifr_addr))->sin_addr)); break; default: printf(" [AF Unsupported]"); break;

Cygwin's ioctl(SIOCGIFFLAGS) always sets the IFF_UP flag

2006-12-28 Thread Jonathan Lennox
printf(" addr=%s", inet_ntoa(((struct sockaddr_in*)(&ifr->ifr_addr))->sin_addr)); break; default: printf(" [AF Unsupported]"); break;

pthread_create leaves valid mutex pointers on the stack

2006-03-16 Thread Jonathan Lennox
ects from random stack or heap garbage? In particular, it seems like this is an area where an attacker could potentially cause odd effects by causing the pthread objects' magic numbers to be written to the stack or heap in memory that is subsequently re-used. -- Jonathan Lennox lennox at cs dot