bug-findutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Use 'return' from main() instead of calling exit()


From: Petter Reinholdtsen
Subject: Re: [PATCH] Use 'return' from main() instead of calling exit()
Date: Sat, 23 Oct 2004 21:23:22 +0200
User-agent: Mutt/1.4.1i

[Bob Proulx]
> Consider that return is a keyword, not a function, and parentheses
> around the value are not required.  They just make return look like a
> function and it is not.  I know you simply converted the exits to
> returns and probably missed that.

I didn't miss it.  I just assumed this was the wanted coding standard,
and tried to follow the existing notation.  I guess I
misunderstood. :)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]