[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: svn commit: rev 7963 - trunk/subversion/libsvn_wc

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2003-12-09 21:40:13 CET

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.