forked from AuroraMiddleware/gtk
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>
|
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||||
|
|
||||||
Fixed #138004 using Federico's code from #132327.
|
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>
|
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||||
|
|
||||||
Fixed #138004 using Federico's code from #132327.
|
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>
|
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||||
|
|
||||||
Fixed #138004 using Federico's code from #132327.
|
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>
|
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||||
|
|
||||||
Fixed #138004 using Federico's code from #132327.
|
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>
|
2004-03-24 J. Ali Harlow <ali@juiblex.co.uk>
|
||||||
|
|
||||||
Fixed #138004 using Federico's code from #132327.
|
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);
|
filename = filename_from_path (path);
|
||||||
g_return_val_if_fail (filename != NULL, FALSE);
|
g_return_val_if_fail (filename != NULL, FALSE);
|
||||||
|
|
||||||
result = mkdir (filename, 0777) != 0;
|
result = mkdir (filename, 0777) == 0;
|
||||||
|
|
||||||
if (!result)
|
if (!result)
|
||||||
{
|
{
|
||||||
gchar *filename_utf8 = g_filename_to_utf8 (filename, -1, NULL, NULL, NULL);
|
gchar *filename_utf8 = g_filename_to_utf8 (filename, -1, NULL, NULL, NULL);
|
||||||
|
Loading…
Reference in New Issue
Block a user