This is the mail archive of the cygwin-patches@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cinstall contribution


On Fri, Jul 14, 2000 at 01:12:55PM -0400, DJ Delorie wrote:
>A note on coding style:  I prefer that when you test for an error
>(like the results of fopen), you test for the error case,
>not the success case.  That way you don't end up indenting a lot.
>For example, your code is like this:

Also, take a look at:

http://www.gnu.org/prep/standards_toc.html

The standards that we follow are based on GNU coding practices.

cgf

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]