delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2001/08/06/10:13:44

From: sandmann AT clio DOT rice DOT edu (Charles Sandmann)
Message-Id: <10108061346.AA17499@clio.rice.edu>
Subject: Re: Windows 2000 /dev/null permission query
To: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Mon, 6 Aug 2001 08:46:36 -0500 (CDT)
Cc: acottrel AT ihug DOT com DOT au, djgpp-workers AT delorie DOT com
In-Reply-To: <Pine.SUN.3.91.1010806094425.20688D-100000@is> from "Eli Zaretskii" at Aug 06, 2001 09:46:24 AM
X-Mailer: ELM [version 2.5 PL2]
Mime-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Does "ls -l NUL" say that it's a character device?

C:\djgpp>ls -l nul
-rw-r--r--   1 dosuser  root            0 Jan  1  1980 nul

C:\djgpp>set lfn=n

C:\djgpp>ls -l nul
crw-r--r--   1 dosuser  root       0,   0 Aug  6 08:48 nul

C:\djgpp>touch a.a

C:\djgpp>set lfn=

C:\djgpp>touch a.a
c:/djgpp/bin/touch: a.a: Input or output error (EIO)


> This might mean we need an exhaustive sweep of all the handle-related
> DOS calls, to see whether more of them are broken on W2K.  In
> particular, those Int 21h file-related functions used by the library
> should be all checked.

Agreed.  I'm betting that some of the handle related functions will
require the LFN versions instead of the old versions when working on
LFN opened handles.

- Raw text -


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