Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Aug 1996 09:10:01 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        mpp@freefall.freebsd.org (Mike Pritchard)
Cc:        wosch@freefall.freebsd.org, 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:  <199608230710.JAA29339@uriah.heep.sax.de>
In-Reply-To: <199608222027.NAA14699@freefall.freebsd.org> from Mike Pritchard at "Aug 22, 96 01:27:59 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Mike Pritchard wrote:

> >   remove case '?', if '?' is not in getopt(), it should
> >   not be in the switch statement

> '?' 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.

Yep.  Folks, please discuss modifications to the style guide first.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



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