On Tue, May 30, 2006 at 09:18:38PM +0000, Angus Leeming wrote: > Enrico Forestieri <[EMAIL PROTECTED]> writes: > > In the meantime I have discovered that a native Windows build > > needs another small patch. Please, find it attached. > > ... > > > p = strrchr(arg, '/'); > > > >+#ifdef _WIN32 > >+ if (!p) > >+ p = strrchr(arg, '\\'); > >+#endif > > Do you need to consider also mixed \ and / delimiters, as in "foo/bar\baz" ?
I was not thinking of that, even if I just checked that it works. I simply had in mind that a Windows user would probably use "\" rather than "/" as a path separator. -- Enrico