changeset 911:e0d98c63614d

2007-4-18 Brian Masney <masneyb@gftp.org> * lib/local.c (local_mkdir) - return a successful response if errno is set to EEXIST.
author masneyb
date Wed, 18 Apr 2007 23:34:01 +0000
parents 50469c2b2546
children 1f9c6baa458c
files ChangeLog lib/local.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Apr 11 06:25:53 2007 +0000
+++ b/ChangeLog	Wed Apr 18 23:34:01 2007 +0000
@@ -1,3 +1,7 @@
+2007-4-18 Brian Masney <masneyb@gftp.org>
+	* lib/local.c (local_mkdir) - return a successful response if errno is
+	set to EEXIST.
+
 2007-3-26 Brian Masney <masneyb@gftp.org>
 	* src/gtk/gftp-gtk.c (main) - call gdk_threads_enter() earlier in the
 	startup. This fixes an issue where gftp can hang on startup.
--- a/lib/local.c	Wed Apr 11 06:25:53 2007 +0000
+++ b/lib/local.c	Wed Apr 18 23:34:01 2007 +0000
@@ -555,6 +555,8 @@
                                  directory);
       return (0);
     }
+  else if (errno == EEXIST)
+    return (0);
   else
     {
       request->logging_function (gftp_logging_error, request,