openwrt_deco_e4r/toolchain/uClibc/patches-0.9.33.2/501-hold_missig_logs.patch

12 lines
310 B
Diff

--- a/libc/misc/syslog/syslog.c
+++ b/libc/misc/syslog/syslog.c
@@ -146,8 +146,6 @@ openlog_intern(const char *ident, int lo
return;
}
fcntl(fd, F_SETFD, FD_CLOEXEC);
- /* We don't want to block if e.g. syslogd is SIGSTOPed */
- fcntl(fd, F_SETFL, O_NONBLOCK | fcntl(fd, F_GETFL));
}
}