Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 1996 13:27:59 -0700 (PDT)
From:      Mike Pritchard <mpp>
To:        wosch@freefall.freebsd.org (Wolfram Schneider)
Cc:        CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-share@freefall.freebsd.org
Subject:   Re: cvs commit:  src/share/man/man9 style.9
Message-ID:  <199608222027.NAA14699@freefall.freebsd.org>
In-Reply-To: <199608221655.JAA28446@freefall.freebsd.org> from "Wolfram Schneider" at Aug 22, 96 09:55:20 am

next in thread | previous in thread | raw e-mail | index | archive | help
Wolfram Schneider wrote:
> 
> wosch       96/08/22 09:55:19
> 
>   Modified:    share/man/man9  style.9
>   Log:
>   add copyright, $Id$
>   remove case '?', if '?' is not in getopt(), it should
>   not be in the switch statement
>   
>   Revision  Changes    Path
>   1.10      +27 -2     src/share/man/man9/style.9

'?' is a valid return value from getopt(), and should probably be
in the switch statement, even if it is covered by the "default" case.
Since this is the style guide, including it in the example will
at least make people think about it.
-- 
Mike Pritchard
mpp@FreeBSD.org
"Go that way.  Really fast.  If something gets in your way, turn"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608222027.NAA14699>