No, you don't need it: use
if (has_dos_drive_prefix(path))
path += 2;
without any #ifdef.
Thank _you_ for going through so many iterations.
Unfortunately, it may take me a day or two until I can test the patches on
Windows again.
-- Hannes
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author] Next message: [thread] [date] [author]
Messages in current thread:
Re: [PATCH v6 2/3] compat: add a basename() compatibility ..., j.sixt, (Sun May 31, 1:11 am)