projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5043ea1
)
- remove extra/unneeded function call. testing svn
author
Ned Ludd
<solar@gentoo.org>
Fri, 24 Jun 2005 03:47:57 +0000
(
03:47
-0000)
committer
Ned Ludd
<solar@gentoo.org>
Fri, 24 Jun 2005 03:47:57 +0000
(
03:47
-0000)
networking/fakeidentd.c
patch
|
blob
|
history
diff --git
a/networking/fakeidentd.c
b/networking/fakeidentd.c
index d41177b074a39677c8d27155dac1c317d61ae64c..3d714fd7e1e5d1e499c0eeab97c2c0d4cc91161c 100644
(file)
--- a/
networking/fakeidentd.c
+++ b/
networking/fakeidentd.c
@@
-136,19
+136,10
@@
static void inetbind(void)
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);
}