PERFORCE change 118417 for review

John Baldwin jhb at freebsd.org
Thu Apr 19 17:34:38 UTC 2007


On Thursday 19 April 2007 12:33:58 pm Peter Wemm wrote:
> http://perforce.freebsd.org/chv.cgi?CH=118417
> 
> Change 118417 by peter at 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


More information about the p4-projects mailing list