This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch overline-textgrid
in repository efl.
View the commit online.
commit 6ebab4c13301af488af7fd9525b0b49e96da9005
Author: moihack <[email protected]>
AuthorDate: Sat Jul 25 12:20:20 2026 +0200
eina: use NetBSD dirent structure
Use dirent structure of NetBSD instead of copying the structure
in eina_file_posix like all other OSes.
---
src/lib/eina/eina_file_posix.c | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/src/lib/eina/eina_file_posix.c b/src/lib/eina/eina_file_posix.c
index a1d0a08e4d..41c4a4e5d7 100644
--- a/src/lib/eina/eina_file_posix.c
+++ b/src/lib/eina/eina_file_posix.c
@@ -1362,14 +1362,7 @@ typedef struct
} Dirent;
#elif defined(__NetBSD__)
# define do_getdents(fd, buf, size) getdents(fd, buf, size)
-typedef struct
-{
- ino_t d_fileno;
- uint16_t d_reclen;
- uint16_t d_namlen;
- uint8_t d_type;
- char d_name[4096];
-} Dirent;
+typedef struct dirent Dirent;
#elif defined(__linux__)
# define do_getdents(fd, buf, size) syscall(SYS_getdents64, fd, buf, size)
// getdents64 added un glibc 2.30 ... so use raw syscall - will work
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.