ALT Linux repositórios
S: | 3.14.14-alt3 |
5.0: | 3.14.4-alt5 |
4.1: | 3.14.8-alt0.M41.1 |
4.0: | 3.14.3-alt0.M40.1 |
3.0: | 3.10.17-alt1 |
+updates: | 3.10.18-alt0.C30.1 |
Outros repositórios
Upstream: | 3.14.3 |
Group :: Sistema/Servidores
RPM: apcupsd
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: apcupsd-3.10.5-cvs-daemonize.patch
Download
Download
--- apcupsd-3.10.5/src/apcupsd.c 2003-02-03 13:41:44 +0300
+++ apcupsd/src/apcupsd.c 2003-03-21 18:35:58 +0300
@@ -477,8 +471,8 @@
/* Should close open file descriptors here, but since
we have a lot of them open including the serial
port, we close only the standard descriptors */
-#ifndef DEBUG
close(STDIN_FILENO);
+#ifndef DEBUG
close(STDOUT_FILENO);
close(STDERR_FILENO);
#endif