Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v6 2/3] compat: add a basename() compatibility function

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:46:53

David Aguilar [off-list ref] writes:
quoted
+#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()?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help