This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Permission denied with makeinfo from texinfo-4.0


On 2 Apr 2000, at 22:11, Jay Krell wrote:

> I tried under NT4 on NTFS and FAT and on Win98se on FAT with the attached
> program and it worked... 

The problem occurs when you pass an *in*valid buffer to ReadFile.  Your 
buffers are all valid.

Change the ReadFile calls to:

  b = ReadFile(hFile, buffer+64000, ...

and you'll see the problem.  My note to the list earlier yesterday explains 
why.

                                      -- Dave

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]