[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: D.J. Heap <dj_at_shadyvale.net>
Date: 2004-05-27 00:07:22 CEST

The weird blocking should have clued me in a lot sooner -- the problem
is that some node id's are named the same as reserved device names in
Windows, such as 'aux' which is the one I was hitting, and so when a
file with that name is created Windows thinks you want to talk to a
device (such as the serial port) and thus the trouble begins.

Here's a documentation snippet and reference url:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/base/naming_a_file.asp

"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).

Windows NT: CLOCK$ is also a reserved device name"

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?

DJ

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu May 27 00:07:44 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.