diff options
Diffstat (limited to 'calendar/gnome-cal.c')
-rw-r--r-- | calendar/gnome-cal.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c index 534db8bb4c..d44c5e89f3 100644 --- a/calendar/gnome-cal.c +++ b/calendar/gnome-cal.c @@ -294,10 +294,6 @@ calendar_notify (time_t time, void *data) if (pid == 0){ const int top = max_open_files (); int dev_null, i; - - for (i = 0; i < top; i++) - if (i != p [1]) - close (i); dev_null = open ("/dev/null", O_RDWR); dup2 (p [1], 0); dup2 (dev_null, 1); |