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

Re: Case-insensitivity causes data loss under win32

From: Scott Moynes <smoynes_at_nerdnest.org>
Date: 2003-10-07 17:47:26 CEST

* John Peacock (jpeacock@rowman.com) wrote:
> That step at * above could potentially mean a complete scan of the
> directory (and some people like to put 5000+ files in a single directory!).
>
>
> Remember that the following files are "equivalent" according to Win32:
>
> Resource.h
> resource.h
> ReSoUrCe.H
> etc.

The name mangling can actually get quite complex. I recall some talk
about this in an interview with a SAMBA developer. A quick google
brought this link http://freebooks.by.ru/view/SambaIn24h/ch07-05.htm
but I haven't been able to find the interview I was thinking of. A
quick test here shows that in Explorer, if one renames a file from
"Read Me.txt" to "read me.txt", it leaves it as "Read Me.txt", but
from a command interpreter it will change it to "read me.txt".

I'm not sure how other cross-platform tools deal with this. I'm sure
someone must have delt with this in a reasonable and non-resource
intensive manner.

Hopefully,

-- 
Scott Moynes
"Computer science is as much about computers
as astronomy is about telescopes." -- Dijkstra
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 7 17:48:30 2003

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

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