forked from AuroraMiddleware/gtk
Bare drive designators (eg., "c:") are no longer considered as root
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk> * gtk/gtkfilesystemwin32.c (filename_is_root): Bare drive designators (eg., "c:") are no longer considered as root filenames. Fixed #137942
This commit is contained in:
parent
a788d2ffc4
commit
d52dda30a7
@ -1,3 +1,9 @@
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(filename_is_root): Bare drive designators (eg., "c:") are
|
||||
no longer considered as root filenames. Fixed #137942
|
||||
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(filename_is_root): Bare drive designators (eg., "c:") are
|
||||
no longer considered as root filenames. Fixed #137942
|
||||
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(filename_is_root): Bare drive designators (eg., "c:") are
|
||||
no longer considered as root filenames. Fixed #137942
|
||||
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(filename_is_root): Bare drive designators (eg., "c:") are
|
||||
no longer considered as root filenames. Fixed #137942
|
||||
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(filename_is_root): Bare drive designators (eg., "c:") are
|
||||
no longer considered as root filenames. Fixed #137942
|
||||
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
|
@ -1383,7 +1383,6 @@ filename_is_root (const char *filename)
|
||||
|
||||
/* accept both forms */
|
||||
|
||||
return ( (len == 2 && filename[1] == ':')
|
||||
|| (len == 3 && filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/')));
|
||||
return (len == 3 && filename[1] == ':' && (filename[2] == '\\' || filename[2] == '/'));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user