www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1996/12/09/14:04:19

From: richardd AT cix DOT compulink DOT co DOT uk (Richard Donkin)
Subject: Re: b17 bash problem with /dev/null on Windows 95 system
9 Dec 1996 14:04:19 -0800 :
Sender: daemon AT cygnus DOT com
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <memo.370923.cygnus.gnu-win32@cix.compulink.co.uk>
Reply-To: richardd AT cix DOT compulink DOT co DOT uk
Original-To: jwe AT bevo DOT che DOT wisc DOT edu
Original-Cc: richardd AT cix DOT compulink DOT co DOT uk, gnu-win32 AT cygnus DOT com
Original-Sender: owner-gnu-win32 AT cygnus DOT com

In-Reply-To: <199612090054 DOT SAA00438 AT tillamook-sharp DOT eaton DOT net>
> Yesterday, I wrote about a problem with b17, bash, and /dev/null on a
> Windows 95 system.  Some people suggested that it might be caused by
> having an old copy of cygwin.dll somewhere but I am quite certain that
> I only have files from b17 installed.
> 
> In any case, I still have the problem but have since discovered that
> although
> 
>   bash$ echo foo > /dev/null
> 
> fails,
> 
>   bash$ echo foo > /dev/nul
> 
> works (?!).

I had this problem in trying to make RCS 5.7 - 'nul' is another NT/95 device 
name that is valid in every directory along with aux, lpt1, prn, etc.  

Suggestion - it might be worth putting in a horrible hack that normally maps 
<NT-device> at the API level to a file called '_<NT-device>'.  This hack 
would be disabled for any /dev/* names, and 'null' mapped to 'nul' in this 
directory, enabling /dev/null and /dev/<NT-device> to work properly.

Richard
--
richardd AT cix DOT compulink DOT co DOT uk                http://www.inside-edge.co.uk/
Inside Edge Consultancy           Client/Server and Internet Applications
PGP key from:  pgp-public-keys AT keys DOT pgp DOT net  -or-  http://www.four11.com/

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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