Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <200004030526.BAA09780@mail.bcpl.net> From: "J. David Bryan" Organization: Palomar Corporation To: "Jay Krell" Date: Mon, 3 Apr 2000 01:26:02 -0400 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: Permission denied with makeinfo from texinfo-4.0 CC: Cygnus Win32 List In-reply-to: <001201bf9d2b$085e3710$0201a8c0@jayk_home4nt> X-mailer: Pegasus Mail for Win32 (v3.12c) 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 AT sourceware DOT cygnus DOT com