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

Re: FSFS: Please test r9880 on Windows

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-05-27 03:06:20 CEST

Greg Hudson wrote:

>On Wed, 2004-05-26 at 18:07, D.J. Heap wrote:
>
>
>>"The following reserved device names cannot be used as the name of a
>>file: CON, PRN, AUX, NUL, COM1, COM2, COM3, COM4, COM5, COM6, COM7,
>>COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6, LPT7, LPT8, and LPT9.
>>Also avoid these names followed by an extension (for example, NUL.tx7).
>>
>>
>
>Mommy, Windows is sucking again. Make it stop!
>
>
There, there. Have a biscuit.

>>Tweaking fs_fs.c:path_txn_node_rev to prepend a '-' to the filename just
>>before the node_id seemed to work just fine and I didn't see any other
>>places that might be of concern. Are there any issues with doing that
>>or other places to look at more closely?
>>
>>
>
>That approach is fine. '-' is perhaps not the wisest choice of
>prefixes, because of its meaning to Unix utilities, so I'll suggest
>'N'. I'll take care of that.
>
>
I'd suggest something a bit more involved. Because if you do this, your
node "ul" will be represented in a file called "Nul", and I'm almost
certain you don't want to send your data to the bit bucket. That is,
unless you're implementing "svn obliterate".

Have another biscuit.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 27 03:08:29 2004

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.