[BusyBox-cvs] svn commit: trunk/busybox/networking
solar at busybox.net
solar at busybox.net
Fri Jun 24 03:47:58 UTC 2005
Author: solar
Date: 2005-06-23 21:47:57 -0600 (Thu, 23 Jun 2005)
New Revision: 10575
Log:
- remove extra/unneeded function call. testing svn
Modified:
trunk/busybox/networking/fakeidentd.c
Changeset:
Modified: trunk/busybox/networking/fakeidentd.c
===================================================================
--- trunk/busybox/networking/fakeidentd.c 2005-06-24 03:14:20 UTC (rev 10574)
+++ trunk/busybox/networking/fakeidentd.c 2005-06-24 03:47:57 UTC (rev 10575)
@@ -136,19 +136,10 @@
movefd(s, 0);
}
-static void delpidfile(void)
+static void handlexitsigs(int signum)
{
- /*
- * Usually nobody has no write/delete access to directory /var/run/
- * therefore if file cannot be deleted, it is truncated
- */
if (unlink(PIDFILE) < 0)
close(open(PIDFILE, O_WRONLY|O_CREAT|O_TRUNC, 0644));
-}
-
-static void handlexitsigs(int signum)
-{
- delpidfile();
exit(0);
}
More information about the busybox-cvs
mailing list