mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
Invert test for error in mkdir. Fixes #137945
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk> * gtk/gtkfilesystemwin32.c (gtk_file_system_win32_create_folder): Invert test for error in mkdir. Fixes #137945
This commit is contained in:
parent
7056b15795
commit
a788d2ffc4
@ -1,3 +1,9 @@
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(gtk_file_system_win32_create_folder): Invert test for error in
|
||||
mkdir. Fixes #137945
|
||||
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
Fixed #138004 using Federico's code from #132327.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(gtk_file_system_win32_create_folder): Invert test for error in
|
||||
mkdir. Fixes #137945
|
||||
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
Fixed #138004 using Federico's code from #132327.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(gtk_file_system_win32_create_folder): Invert test for error in
|
||||
mkdir. Fixes #137945
|
||||
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
Fixed #138004 using Federico's code from #132327.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(gtk_file_system_win32_create_folder): Invert test for error in
|
||||
mkdir. Fixes #137945
|
||||
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
Fixed #138004 using Federico's code from #132327.
|
||||
|
@ -1,3 +1,9 @@
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
* gtk/gtkfilesystemwin32.c
|
||||
(gtk_file_system_win32_create_folder): Invert test for error in
|
||||
mkdir. Fixes #137945
|
||||
|
||||
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||
|
||||
Fixed #138004 using Federico's code from #132327.
|
||||
|
@ -416,9 +416,9 @@ gtk_file_system_win32_create_folder (GtkFileSystem *file_system,
|
||||
|
||||
filename = filename_from_path (path);
|
||||
g_return_val_if_fail (filename != NULL, FALSE);
|
||||
|
||||
result = mkdir (filename, 0777) != 0;
|
||||
|
||||
|
||||
result = mkdir (filename, 0777) == 0;
|
||||
|
||||
if (!result)
|
||||
{
|
||||
gchar *filename_utf8 = g_filename_to_utf8 (filename, -1, NULL, NULL, NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user