search for: fdopendir

Displaying 20 results from an estimated 169 matches for "fdopendir".

2011 Aug 10
1
[PATCH v2] dirent.h add fdopendir()
Initial implemenation with quick test. Signed-off-by: maximilian attems <max at stro.at> --- v2: seperate file. usr/include/dirent.h | 1 + usr/klibc/Kbuild | 3 ++- usr/klibc/fdopendir.c | 40 ++++++++++++++++++++++++++++++++++++++++ usr/klibc/tests/Kbuild | 1 + usr/klibc/tests/fdopendir.c | 31 +++++++++++++++++++++++++++++++ 5 files changed, 75 insertions(+), 1 deletions(-) create mode 100644 usr/klibc/fdopendir.c create mode 100644 usr/klibc/tests/fdopendi...
2008 Dec 04
0
[PATCH 1/1] COM32: Add directory functions
...^ ERROR: need consistent spacing around '*' (ctx:WxB) #39: FILE: com32/include/dirent.h:33: +__extern int closedir(DIR *); ^ ERROR: need consistent spacing around '*' (ctx:WxV) #40: FILE: com32/include/dirent.h:34: +__extern DIR *fdopendir(int); diff --git a/com32/include/dirent.h b/com32/include/dirent.h new file mode 100644 index 0000000..956b911 --- /dev/null +++ b/com32/include/dirent.h @@ -0,0 +1,36 @@ +/* + * dirent.h + */ + +#ifndef _DIRENT_H +#define _DIRENT_H + +#include <klibc/extern.h> +#include <klibc/compiler...
2009 Feb 11
1
[PATCH 1/1] COM32 API: Add functions for directory use
...; +}; + +typedef struct { + short dd_stat; /* status return from last lookup */ + uint16_t dd_fd; + size_t dd_sect; + char dd_name[NAME_MAX + 1]; /* directory */ +} DIR; + +__extern DIR *opendir(const char *); +__extern struct dirent *readdir(DIR *); +__extern int closedir(DIR *); +__extern DIR *fdopendir(int); + +#endif /* Not _DIRENT_H */ diff --git a/com32/include/unistd.h b/com32/include/unistd.h index d0b8309..c0b52d6 100644 --- a/com32/include/unistd.h +++ b/com32/include/unistd.h @@ -22,6 +22,9 @@ __extern int isatty(int); __extern int getscreensize(int, int *, int *); +__extern char *getc...
2024 May 24
1
Samba suddenly acting strangely
...bye & Thanks av. --------------------------------------------------------------------------- [global] max log size=0 vfs objects=full_audit shadow_copy2 audit:facility=LOCAL7 audit:priority=INFO full_audit:success=all !closedir !connectpath !fdopendir !openat !readdir !realpath !stat full_audit:failure=all !get_real_filename !stat !translate_name full_audit:facility=LOCAL7 full_audit:priority=INFO full_audit: prefix = IP=%I | USER=%u | MACHINE=%m | VOLUME=%S shadow:sort = desc shadow:format=...
2011 Aug 12
4
klibc current state
...-------------------------------- - mikew/drop_cap - kinit: Add drop_capabilities support adds the ability to kinit to allow the dropping of POSIX capabilities. (patch even referenced on lwn :) - mikew/run-parts - kinit: Add run_parts() adds possibility to run boot scripts from kinit - maks/fdopendir - dirent.h add fdopendir() initial implementation aboves patches are for wider testing in: http://git.kernel.org/?p=libs/klibc/klibc-queue.git * Patches in the works: ----------------------- - mikew/bootscripts - kinit: Add callsites to execute files Needs discussion about /scripts path, ma...
2019 Sep 23
0
[PATCH v2 5/5] build: remove unused gnulib modules
Remove gnulib modules that provide stuff clearly not used within libguestfs (library, daemon, and C tools). Among directly and indirectly modules used previous (and now no more), they are: cycle-check d-ino dev-ino dup3 dup3-tests fcntl-safer fcntl-safer-tests fdopendir fdopendir-tests filevercmp filevercmp-tests ftell ftell-tests ftello ftello-tests fts getaddrinfo getaddrinfo-tests getcwd getcwd-tests gnu-make hostent i-ring i-ring-tests iconv iconv-tests inet_ntop inet_ntop-tests isatty isatty-tests openat-safer o...
2024 May 25
1
Samba suddenly acting strangely
...--------------------------------------------------------------------------- > [global] > max log size=0 > vfs objects=full_audit shadow_copy2 > audit:facility=LOCAL7 > audit:priority=INFO > full_audit:success=all !closedir !connectpath !fdopendir > !openat !readdir !realpath !stat > full_audit:failure=all !get_real_filename !stat > !translate_name full_audit:facility=LOCAL7 > full_audit:priority=INFO > full_audit: prefix = IP=%I | USER=%u | MACHINE=%m | VOLUME=%S > shadow:sort = desc &g...
2010 Dec 14
8
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...ir-long chown cloexec close close-hook cycle-check d-ino d-type dev-ino dirent dirent-safer dirfd dirname-lgpl double-slash-root dup2 errno error exitfail extensions fchdir fclose fcntl fcntl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch...
2011 Jan 14
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...ir-long chown cloexec close close-hook cycle-check d-ino d-type dev-ino dirent dirent-safer dirfd dirname-lgpl double-slash-root dup2 errno error exitfail extensions fchdir fclose fcntl fcntl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch...
2011 Feb 15
7
builder-ubuntu febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...ir-long chown cloexec close close-hook cycle-check d-ino d-type dev-ino dirent dirent-safer dirfd dirname-lgpl double-slash-root dup2 errno error exitfail extensions fchdir fclose fcntl fcntl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch...
2011 Jan 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...ir-long chown cloexec close close-hook cycle-check d-ino d-type dev-ino dirent dirent-safer dirfd dirname-lgpl double-slash-root dup2 errno error exitfail extensions fchdir fclose fcntl fcntl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch...
2011 Feb 15
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...ir-long chown cloexec close close-hook cycle-check d-ino d-type dev-ino dirent dirent-safer dirfd dirname-lgpl double-slash-root dup2 errno error exitfail extensions fchdir fclose fcntl fcntl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch...
2010 Dec 14
7
builder-debian febootstrap success 85db2a664c820e01a02ddc3b33b3da26fe05dc5b
...ir-long chown cloexec close close-hook cycle-check d-ino d-type dev-ino dirent dirent-safer dirfd dirname-lgpl double-slash-root dup2 errno error exitfail extensions fchdir fclose fcntl fcntl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch...
2011 May 13
3
builder-debian febootstrap success 6ab9465001dfaa52edc5992ee71f2e9aecc2085d
...ir-long chown cloexec close close-hook cycle-check d-ino d-type dev-ino dirent dirent-safer dirfd dirname-lgpl double-slash-root dup2 errno error exitfail extensions fchdir fclose fcntl fcntl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch...
2010 Dec 07
0
builder-debian febootstrap FAILED configure step af9f9305a0a48829392a57d24aee30978b449d1d
...ir-long chown cloexec close close-hook cycle-check d-ino d-type dev-ino dirent dirent-safer dirfd dirname-lgpl double-slash-root dup2 errno error exitfail extensions fchdir fclose fcntl fcntl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch...
2011 Mar 22
1
builder-debian febootstrap success 6720ad28eddbcd671032c151f7219a35ba615b1b
...ir-long chown cloexec close close-hook cycle-check d-ino d-type dev-ino dirent dirent-safer dirfd dirname-lgpl double-slash-root dup2 errno error exitfail extensions fchdir fclose fcntl fcntl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch...
2016 Aug 18
5
[PATCH v2 0/4] New getprogname module
...| 1 - modules/c-stack | 1 + modules/carray-list-tests | 1 - modules/copy-file-tests | 1 - modules/error | 1 + modules/exclude-tests | 1 - modules/fchownat-tests | 1 - modules/fdopendir-tests | 1 - modules/filenamecat-tests | 1 - modules/fstatat-tests | 1 - modules/fstrcmp-tests | 1 - modules/getprogname | 28 ++++++ modules/git-merge-changelog | 2 +- modules/linked-list-tests...
2024 May 23
1
Samba suddenly acting strangely
On Thu, 2024-05-23 at 19:20 +0200, Andrea Venturoli via samba wrote: > Hello. > I know my description of the problem will be vague... I'm not asking > for specific help, rather for some directions on where to look in > order to understand it. > I've got several setups which are all alike:_ FreeBSD (currently > 13.2, 13.3 or, rarely, 14.0);_ ZFS;_ two jails: one for an AD
2009 Mar 06
4
rosh patch
...( inc == '\t') ) + { + rv = 1 ; } return rv; } /* ros_issp */ @@ -384,8 +384,7 @@ if (S_ISDIR(fdstat.st_mode)) { ROSH_DEBUG("PATH '%s' is a directory\n", ifilstr); d = fdopendir(fd); - de = readdir(d); - while (de != NULL) { + while ( de = readdir(d) ) { #ifdef DO_DEBUG filestr2[0] = 0; file2pos = strlen(filestr); @@ -401,7 +400,6 @@ #ifdef DO...
2010 Dec 07
0
builder-ubuntu febootstrap success 2dfc659c33c5ceb298e8027e219547416b286661
...ir-long chown cloexec close close-hook cycle-check d-ino d-type dev-ino dirent dirent-safer dirfd dirname-lgpl double-slash-root dup2 errno error exitfail extensions fchdir fclose fcntl fcntl-h fcntl-safer fdopendir filevercmp float fts full-write getcwd getdtablesize getopt-gnu getopt-posix gettext-h hash hash-pjw i-ring include_next inline intprops inttypes lchown lstat malloc-posix memchr mempcpy memrchr mkdir multiarch...