diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-07-13 01:46:09 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska@appnovation.com> | 2025-07-13 01:46:09 +0000 |
| commit | 139a898a9ce4a64ecc8de6d65da1824ff3e0fb37 (patch) | |
| tree | 63357ee144bd52b53ffe05e75b5c77322b0d76bf /src/libunixonacid/emulate_at.c | |
| parent | 5bc6d77b08b39f863a7d8767a588f839c19d3113 (diff) | |
| download | skalibs-139a898a9ce4a64ecc8de6d65da1824ff3e0fb37.tar.gz | |
gol_argv bugfix, tai.html doc fix
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/libunixonacid/emulate_at.c')
| -rw-r--r-- | src/libunixonacid/emulate_at.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libunixonacid/emulate_at.c b/src/libunixonacid/emulate_at.c index 0bb194a..dc72c70 100644 --- a/src/libunixonacid/emulate_at.c +++ b/src/libunixonacid/emulate_at.c @@ -16,7 +16,7 @@ int emulate_at (int dirfd, init_func_ref f, deinit_func_ref g, void *p) { int r ; - int fdhere = open_read(".") ; + int fdhere = open_read(".", O_DIRECTORY) ; if (fdhere < 0) return -1 ; if (fd_chdir(dirfd) < 0) goto errclose ; r = (*f)(p) ; |
