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:
J. Ali Harlow 2004-03-24 17:48:04 +00:00 committed by J. Ali Harlow
parent a788d2ffc4
commit d52dda30a7
6 changed files with 31 additions and 2 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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] == '/'));
}