17 Sep 2008 19:10
Re: Unwanted filename translation in XML doctypes
> Perhaps a fine-tuning of the path detection algorithm could help in this > case. I'm not able to test this but maybe something like the following would suffice. Brian
--- rt/src/winsup/cygwin/path.cc.orig 2006-07-26 08:01:37.000000000 -0700
+++ rt/src/winsup/cygwin/path.cc 2008-09-17 10:08:41.921875000 -0700
<at> <at> -3252,7 +3252,7 <at> <at>
sspath = (char *)spath;
sspath++;
sspath++;
- if (*sspath == '/')
+ if (*sspath == '/' && sspath[-1] != '/')
{
debug_printf("spath = %s", spath);
char *swin32_path = msys_p2w (sspath);
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________ Mingw-msys mailing list Mingw-msys@... https://lists.sourceforge.net/lists/listinfo/mingw-msys
RSS Feed