DragonFly submit List (threaded) for 2007-06
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: VKERNEL Pidfile patch
Chris Turner wrote:
Joerg Sonnenberger wrote:
On Sun, Jun 17, 2007 at 12:22:54AM -0400, Chris Turner wrote:
- doing this 'inline' within the getopt processing. Felt this
was simpleenough a task that that wasn't a big deal, but I
can see how some might not like it that way.
How does this work if -p is specified more than once?
You don't have to strdup optarg if you don't modify argv.
Joerg
Updated version:
- only handles 1 pidfile, which is the last -p argument specified.
- pidfile processing moved to function for clarity
- non-strduping of optarg
Thanks,
- Chris
Uh, can you use diff -u please?
Sascha
--
http://yoyodyne.ath.cx
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]