Re: [PATCH v6 2/3] compat: add a basename() compatibility function
David Aguilar <davvid@gmail.com> writes:
Show 13 quoted lines
>> +#ifdef USE_WIN32_FS
>> + /* Skip over the disk name in MSDOS pathnames. */
>> + if (isalpha(path[0]) && path[1] == ':')
>> + path += 2;
>> +#endif
>
> Thanks for bearing through this series everyone.. ;)
>
> Can someone with better win32 knowledge let me know if the
> USE_WIN32_FS stuff is needed for msysgit?
>
> I would really like it if there was a way to do without the
> #define.
Isn't this essentially the same as has_dos_drive_prefix()?