This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository efm2.

View the commit online.

commit 9489a8b691cd280b21b67e08f2bef62be58e473e
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
AuthorDate: Sun Apr 28 20:03:19 2024 +0100

    actually make mv work fully
---
 src/backends/default/mv.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/backends/default/mv.c b/src/backends/default/mv.c
index c964ba0..740357e 100644
--- a/src/backends/default/mv.c
+++ b/src/backends/default/mv.c
@@ -18,9 +18,6 @@
 #include <unistd.h>
 #include <fcntl.h>
 
-#include "eina_strbuf.h"
-#include "eina_thread.h"
-#include "eina_types.h"
 #include "meta.h"
 #include "status.h"
 
@@ -264,7 +261,7 @@ fs_cp_rm(const char *src, const char *dst, Eina_Bool report_err)
           }
           eina_iterator_free(it);
         }
-      //     if (res) rmdir(src);
+      if (res) rmdir(src);
     }
   else if (S_ISLNK(st.st_mode))
     {
@@ -405,7 +402,7 @@ err_copy:
       if (old_copy_buf) free(old_copy_buf);
       if (fd_in >= 0) close(fd_in);
       if (fd_ou >= 0) close(fd_ou);
-      //     if (res) unlink(src);
+      if (res) unlink(src);
     }
   chown(dst, st.st_uid, st.st_gid);
 #ifdef STAT_NSEC

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to