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 2fe732f43ef52832df1432efc516a9c1236b4e10
Author: Carsten Haitzler (Rasterman) <[email protected]>
AuthorDate: Tue Feb 10 11:41:22 2026 +0000
fs cp - truncate opened dest files if exist already
---
src/backends/default/fs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backends/default/fs.c b/src/backends/default/fs.c
index a31db08..1aa8247 100644
--- a/src/backends/default/fs.c
+++ b/src/backends/default/fs.c
@@ -91,7 +91,7 @@ fs_cp_file(const char *src, const char *dst, const char *op, struct stat src_st)
Eina_Bool res = EINA_TRUE;
fd_in = open(src, O_RDONLY);
- fd_ou = open(dst, O_WRONLY | O_CREAT, src_st.st_mode);
+ fd_ou = open(dst, O_WRONLY | O_CREAT | O_TRUNC, src_st.st_mode);
if ((fd_in >= 0) && (fd_ou >= 0))
{
ssize_t size = 1 * 1024 * 1024; // 1mb default for copy range
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.