[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] closing stdout *should* be safe (we"ll see)
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
main.c
Log Message:
closing stdout *should* be safe (we'll see)
Index: main.c
===================================================================
RCS file: /home/or/cvsroot/src/or/main.c,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -d -r1.134 -r1.135
--- main.c 15 Oct 2003 19:25:28 -0000 1.134
+++ main.c 15 Oct 2003 19:27:51 -0000 1.135
@@ -752,7 +752,7 @@
umask(000);
fclose(stdin);
- fclose(stdout); /* XXX Nick: this closes our log, right? is it safe to leave this open? */
+ fclose(stdout);
fclose(stderr);
#endif
}