Re: svn commit: r204178 - head/games/fortune/fortune

2010-02-22 Thread Dag-Erling Smørgrav
"Bjoern A. Zeeb" writes: > It still seems to be quite common to use return rather than exit in > main(), and while style.9 may, in the future, possibly suggest that > exit() is the prefered token, we should not start changing all and > everything to exit() and still accept return() without major >

Re: svn commit: r204178 - head/games/fortune/fortune

2010-02-22 Thread Bjoern A. Zeeb
On Mon, 22 Feb 2010, Robert Watson wrote: Hi, On Sun, 21 Feb 2010, Ulrich Spoerlein wrote: Prefer exit(0) from main over return(0). Although not explicitly mentioned in style(9), it allows for easier grepping of exit points. This reverts part of r203926. A few people (including me) hav

Re: svn commit: r204178 - head/games/fortune/fortune

2010-02-22 Thread Robert Watson
On Sun, 21 Feb 2010, Ulrich Spoerlein wrote: Prefer exit(0) from main over return(0). Although not explicitly mentioned in style(9), it allows for easier grepping of exit points. This reverts part of r203926. A few people (including me) have tripped up over exit handling and style in the

svn commit: r204178 - head/games/fortune/fortune

2010-02-21 Thread Ulrich Spoerlein
Author: uqs Date: Sun Feb 21 21:03:15 2010 New Revision: 204178 URL: http://svn.freebsd.org/changeset/base/204178 Log: Prefer exit(0) from main over return(0). Although not explicitly mentioned in style(9), it allows for easier grepping of exit points. This reverts part of r203926. R