projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b119f36
)
ctdlsvc now closes fd 0 in addition to fd 1 and 2
author
Art Cancro
<ajc@citadel.org>
Wed, 29 Nov 2006 04:15:47 +0000
(
04:15
+0000)
committer
Art Cancro
<ajc@citadel.org>
Wed, 29 Nov 2006 04:15:47 +0000
(
04:15
+0000)
webcit/ctdlsvc.c
patch
|
blob
|
history
diff --git
a/webcit/ctdlsvc.c
b/webcit/ctdlsvc.c
index 69f60327c898f226a23a7468d5e5294ba4ecddca..2cadf192d1fd233d6ffa9b375f6ed4d33c64a6cf 100644
(file)
--- a/
webcit/ctdlsvc.c
+++ b/
webcit/ctdlsvc.c
@@
-44,6
+44,7
@@
int main(int argc, char **argv)
exit(1);
}
+ close(0);
close(1);
close(2);
signal(SIGHUP, SIG_IGN);