On Friday 18 April 2008 00:24, Joakim Tjernlund wrote: > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joakim > > Tjernlund > > Sent: den 17 april 2008 19:03 > > To: [email protected] > > Subject: [PATCH] start-stop-daemon fails to stop processes and sometimes > > fails to start them. > > > > pid_is_cmd() would call "die" if it got a stale file. > > readdir() will fail if a file becomes stale, detect this and > > move on. > > > > This patch is aginst bb 1.8.2 gentoo version so it might not apply > > cleanly. I hope that wont be a problem. > > > > Jocke > > [SNIP] > > > foundany++; > > + if (pid == UINT_MAX) /* NaN */ > > That should probably be "if (errno)" instead, not tested though. > > > + continue; > > check(pid); > > } > > closedir(procdir);
I am totally lost. There are no such lines in your patch, and also no such lines in start_stop_daemon.c - what's going on?! :) -- vda _______________________________________________ busybox mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/busybox
