delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/04/03/01:27:35

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
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" <dbryan AT bcpl DOT net>
Organization: Palomar Corporation
To: "Jay Krell" <jay DOT krell AT cornell DOT edu>
Date: Mon, 3 Apr 2000 01:26:02 -0400
MIME-Version: 1.0
Subject: Re: Permission denied with makeinfo from texinfo-4.0
CC: Cygnus Win32 List <cygwin AT sourceware DOT cygnus DOT com>
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

- Raw text -


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