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: Fri, 29 Oct 2004 15:08:51 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (usg-unix-v)

[Petter Reinholdtsen]
> The bug in the HP-UX compiler is reported to HP as case 1205608192.  I
> hope to get feedback and estimate on when it will be fixed soon.

I got a reply from HP claiming this was intended behavior to comply
firmly to the ANSI C standard.  I'm not sure if they are correct, but
apparently a future GCC will complain about this as well.  See
<URL:http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11250> for info on
the GCC bug.

I'll keep looking into this, but suspect the only sane thing to do is
to avoid 'char a[] = ("a");' completely in the source of findutils.




reply via email to

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