On Tue, 9 Dec 2003 14:54:08 -0500 , "Rusk, Patrick"
<PRusk@wellington.com> said:
> Brane,
>
> > I can confirm that reading from NUL on Windows produces
> > instant EOF, which is what we want here, yes?
>
> This may be irrelevant to your thread, but...
>
> I store a lot of development tools in my C:\Dev directory. Every
> once in a while, generally after an installation (like JBuilder), I get a
> file called "null" in that directory with logging information about some
> activity (like the install). Clearly, someone made an assumption there
> that
> piping output to /dev/null would cause it to be ignored on Windows, as on
> Unix. However, if a /dev directory exists, it creates and writes to a
> file
> called null there.
Just so you know:
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
C:\>echo a >nul
C:\>echo a >\dev\nul
Le chemin d'accès spécifié est introuvable.
C:\>echo >null
C:\>dir
Le volume dans le lecteur C s'appelle SYSTEM
Le numéro de série du volume est C09E-9BC2
Répertoire de C:\
09/12/2003 15:38 <DIR> .
09/12/2003 15:38 <DIR> ..
09/12/2003 15:38 24 null
1 fichier(s) 24 octets
2 Rép(s) 328,830,976 octets libres
C:\>
>
> So... if by any chance your statement about "reading from NUL on
> Windows" means "reading from /dev/null when on Windows", beware that it
> might not result in an instant EOF if C:\Dev\null exists.
>
> Like I said, probably irrelevant, but I thought I'd mention it.
>
> Patrick Rusk
>
[snip]
Bye !
François
Developer of Java Gui Builder
http://jgb.sourceforge.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Dec 9 21:41:02 2003