[hackers] [quark] forget to close cfd in parent ;) || Anselm R Garbe

From: <hg_AT_suckless.org>
Date: Sat, 15 Aug 2009 21:37:30 +0000 (UTC)

changeset: 5:ee69b12aece3
tag: tip
user: Anselm R Garbe <anselm_AT_garbe.us>
date: Sat Aug 15 22:37:29 2009 +0100
files: quark.c
description:
forget to close cfd in parent ;)

diff -r 1f90420c4044 -r ee69b12aece3 quark.c
--- a/quark.c Sat Aug 15 22:25:22 2009 +0100
+++ b/quark.c Sat Aug 15 22:37:29 2009 +0100
@@ -323,6 +323,7 @@
                         close(cfd);
                         exit(EXIT_SUCCESS);
                 }
+ close(cfd);
         }
         fprintf(stdout, "%s: shutting down\n", tstamp());
 }
Received on Sat Aug 15 2009 - 21:37:30 UTC

This archive was generated by hypermail 2.2.0 : Sun Aug 16 2009 - 14:19:07 UTC