genode/repos/ports/src/app/lighttpd/stat_cache.c.patch

11 lines
390 B
Diff

+++ src/app/lighttpd/src/stat_cache.c
@@ -796,7 +796,7 @@
#ifndef O_NOFOLLOW
#define O_NOFOLLOW 0
#endif
- const int oflags = O_BINARY | O_LARGEFILE | O_NOCTTY | O_NONBLOCK
+ const int oflags = O_BINARY | O_LARGEFILE | O_NOCTTY //| O_NONBLOCK
| (con->conf.follow_symlink ? 0 : O_NOFOLLOW);
const int fd = fdevent_open_cloexec(name->ptr, O_RDONLY | oflags, 0);
if (fd >= 0) {