RE: svn commit: r39690 - in trunk/subversion: libsvn_subr tests/libsvn_subr
From: Bert Huijben <rhuijben_at_sharpsvn.net>
Date: Wed, 30 Sep 2009 12:14:04 +0200
> -----Original Message-----
Windows' use of drive letters is insensitive but if you store the paths containing drive letters in a hashtable or when you compare these paths it is very useful that we actually find the intended value.
Without this fix you could have a perfectly legal absolute path (svn_dirent_is_absolute returned true) that you can't use with any of the WC-NG functions.
Just calling svn_dirent_get_absolute() on all paths -everywhere- is not an option we would like to recommend, as this function is not very cheap.
You will never find these issues by just using svn as that normalizes all paths received from the user via a few specific code paths, but when you use the api directly (e.g. via the client bindings) you will.
Bert
------------------------------------------------------
|
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.