Date: Thu, 19 Apr 2007 13:10:18 -0400 From: John Baldwin <jhb@freebsd.org> To: Peter Wemm <peter@freebsd.org> Cc: Perforce Change Reviews <perforce@freebsd.org> Subject: Re: PERFORCE change 118417 for review Message-ID: <200704191310.18336.jhb@freebsd.org> In-Reply-To: <200704191633.l3JGXwLh047741@repoman.freebsd.org> References: <200704191633.l3JGXwLh047741@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 19 April 2007 12:33:58 pm Peter Wemm wrote: > http://perforce.freebsd.org/chv.cgi?CH=118417 > > Change 118417 by peter@peter_overcee on 2007/04/19 16:33:14 > > WTF?? > > Affected files ... > > .. //depot/projects/hammer/usr.sbin/daemon/daemon.c#7 edit > > Differences ... > > ==== //depot/projects/hammer/usr.sbin/daemon/daemon.c#7 (text+ko) ==== > > @@ -55,7 +55,7 @@ > > nochdir = noclose = 1; > pidfile = user = NULL; > - while ((ch = getopt(argc, argv, "-cf:p:u:")) != -1) { > + while ((ch = getopt(argc, argv, "cfp:u:")) != -1) { > switch (ch) { > case 'c': > nochdir = 0; There's a note in the BUGS of getopt(3) about what '-' does, though I don't fully parse it. -- John Baldwin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704191310.18336.jhb>