delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/06/18/08:47:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <376A3E28.F9324440@cr2a-di.fr>
Date: Fri, 18 Jun 1999 14:40:09 +0200
From: Arnaud Bouis <abouis AT cr2a-di DOT fr>
X-Mailer: Mozilla 4.5 [fr] (WinNT; I)
X-Accept-Language: fr
MIME-Version: 1.0
To: "cygwin AT sourceware DOT cygnus DOT com" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: "read" bug
References: <376A378E DOT C784A63F AT cr2a-di DOT fr>

> > > Looks like there's a bug with the read() function in the Cygwin lib.
> > > It always returns "-1" with a "Permission denied" error code,
> > > whatever  file I try it upon.

Ok, the mystery clears a little...I am now getting the same error code with
cygwin's opendir(). And yet, the files and directories used have "full
access control" for "everyone".
I really am no NT expert, but there seems to be some permission problem that
escapes me.
At any rate, if someone else has ascertained that read() works on NT4 SP4,
I'll stop thinking that CYGWIN is the culprit.

Takayuki: yes, fd2 is valid. I tested its value, it's worth 3, not 0.

Arnaud


--
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