[EGIT] [efm2] 01/01: fix fs scan

2024-04-16 Thread Enlightenment Git

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 0b9c076b6bbfdf250c7a09a70c1515d9f9687cc1
Author: Carsten Haitzler (Rasterman) 
AuthorDate: Tue Apr 16 20:41:22 2024 +0100

fix fs scan
---
 src/backends/default/mv.c | 21 +
 src/backends/default/status.c |  1 +
 2 files changed, 6 insertions(+), 16 deletions(-)

diff --git a/src/backends/default/mv.c b/src/backends/default/mv.c
index bda92dd..e39bf1c 100644
--- a/src/backends/default/mv.c
+++ b/src/backends/default/mv.c
@@ -77,24 +77,10 @@ fs_scan(const char *src)
   it = eina_file_ls(src);
   if (it)
 {
-  Eina_Strbuf *buf;
-
-  buf = eina_strbuf_new();
   EINA_ITERATOR_FOREACH(it, s)
   {
-// build new path "src/s"
-eina_strbuf_reset(buf);
-eina_strbuf_append(buf, src);
-// add / if src doesn't end in /
-if (src[strlen(src) - 1] != '/') eina_strbuf_append(buf, "/");
-eina_strbuf_append(buf, s);
-eina_stringshare_del(s);
-// fs_scan this file (or dir)
-// yes - this returns. we make leak our eina_file_ls data, strbuf etc.
-// dont care - we're going to exit the whole process in a bit
-if (!fs_scan(eina_strbuf_string_get(buf))) return EINA_FALSE;
+if (!fs_scan(s)) return EINA_FALSE;
   }
-  eina_strbuf_free(buf);
 }
 }
   else
@@ -317,7 +303,10 @@ main(int argc, char **argv)
   free(src_meta);
   free(dst_meta);
 }
-  else pause(); // wait here - status thread will exit for us
+  else
+{
+  status_end();
+}
 err:
   if (buf) eina_strbuf_free(buf);
   status_end();
diff --git a/src/backends/default/status.c b/src/backends/default/status.c
index aff152e..973e275 100644
--- a/src/backends/default/status.c
+++ b/src/backends/default/status.c
@@ -159,6 +159,7 @@ _cb_status_thread(void *data EINA_UNUSED, Eina_Thread t EINA_UNUSED)
   break;
 case MSG_END:
   {
+_status_flush();
 if (status_fd >= 0)
   {
 close(status_fd);


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





[EGIT] [legacy-imlib2] 01/01: Add missing CET (Control-flow Enforcement Technology) bits in asm code

2024-04-16 Thread Enlightenment Git

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

git pushed a commit to branch master
in repository legacy-imlib2.


View the commit online.
commit 699fc2b8b5ad6728dc2b863734262a1204abb932
Author: Kim Woelders 
AuthorDate: Tue Apr 16 08:08:04 2024 +0200

Add missing CET (Control-flow Enforcement Technology) bits in asm code

Adding .note.gnu.property section data.

https://git.enlightenment.org/old/legacy-imlib2/issues/23
---
 src/lib/asm.h | 15 ---
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/lib/asm.h b/src/lib/asm.h
index 773cd8d..ea96d57 100644
--- a/src/lib/asm.h
+++ b/src/lib/asm.h
@@ -17,14 +17,15 @@
 .size PR_(sym),.-PR_(sym); \
 .align 8;
 
-#ifdef __CET__
-#if defined(DO_MMX_ASM)
-#define ENDBR_ endbr32
-#elif defined(DO_AMD64_ASM)
-#define ENDBR_ endbr64
-#endif
-#else
 #define ENDBR_
+#ifdef __CET__
+#ifdef __has_include
+#if __has_include()
+#include 
+#undef  ENDBR_
+#define ENDBR_ _CET_ENDBR
+#endif
+#endif
 #endif
 
 #endif  /* __ASM_H */


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