Permission denied with makeinfo from texinfo-4.0

Jay Krell jay.krell@cornell.edu
Sun Apr 2 22:09:00 GMT 2000


Do you have a simple repro case for this? I tried under NT4 on NTFS and FAT
and on Win98se on FAT with the attached program and it worked (returned
true, 0 bytes, last error was 0 on NT, 120 on 9x, but given the returned
true, last error should be ignored).


-----Original Message-----
From: Mumit Khan <khan@NanoTech.Wisc.EDU>
To: cygwin@sourceware.cygnus.com <cygwin@sourceware.cygnus.com>
Cc: Christopher Faylor <cgf@cygnus.com>
Date: Sunday, April 02, 2000 1:58 PM
Subject: Re: Permission denied with makeinfo from texinfo-4.0


>fyi, the makeinfo bug is caused by a (undocumented of course) bug in Win32
>ReadFile routine.
>
>Here's what David Korn says when it showed up in UWIN as well:
>
>  Yet some more bizarre undocumented win32 behavior.  If you call the
>  Win32 ReadFile() function with size greater than 32K, and you are
>  at the end of file, it does not return successfully with 0 bytes as
>  you would expect, but fails with ERROR_NOACCESS.
>
[]
>Regards,
>Mumit
>
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rdeof1.c
Type: text/x-c
Size: 964 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20000402/1649bcb5/attachment.bin>


More information about the Cygwin mailing list