This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Q: How to configure /dev/null




>Date: Tue, 18 Nov 1997 15:50:38 -0500
>From: Richard Kasperowski <kasper@altisimo.com>
>Reply-To: kasper@altisimo.com
>To: Larry Hall <lhall@rfk.com>
>CC: gnu-win32@cygnus.com
>Subject: Re: Q: How to configure /dev/null
>
>Larry Hall wrote:
>> 
>> At 05:18 PM 11/17/97 -0500, Richard Kasperowski wrote:
>> >How do I create a valid /dev/null on NT?  TIA.
>> 
>> Create a directory /dev/null.  Works for me.

mkdir /dev
cd /dev
cat << EOD > null
EOD

>
>That doesn't quite work.  For example, the "configure" script for RCS
>5.7 attempts to execute this line:
>
> //d/gnuwin32/b18/H-i386-cygwin32/bin/diff /dev/null conftest1
>

A directory of /dev containing a zero length file named null will make 
this work.  For piping and redirection /dev/null is emulated in the 
cygwin.dll and isn't really needed.

>which results in this error:
>
> //d/gnuwin32/b18/H-i386-cygwin32/bin/diff: /dev/null/conftest1: No 
such
>file or directory
>
>-- 
>Richard Kasperowski          Altisimo Computing
>kasper@altisimo.com          Cambridge, MA, USA
>-
>For help on using this list (especially unsubscribing), send a message 
to
>"gnu-win32-request@cygnus.com" with one line of text: "help".
>


-        \\||//
---o0O0--Earnie--0O0o----
-earnie_boyd@hotmail.com-
------ooo0O--O0ooo-------


______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]