[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Use 'return' from main() instead of calling exit()
From: |
James Youngman |
Subject: |
Re: [PATCH] Use 'return' from main() instead of calling exit() |
Date: |
Sun, 24 Oct 2004 23:25:44 +0100 |
User-agent: |
Mutt/1.3.28i |
On Sun, Oct 24, 2004 at 11:42:26PM +0200, Petter Reinholdtsen wrote:
> > OK. It might be worth trying findutils 4.2.1 from
> > ftp://alpha.gnu.org/gnu/findutils.
>
> I tested. This version fail on several archs (Solaris, RedHat EL AS
> 2.1, Irix, AIX) with error messages on find/parser.c similiar to this
> (I picked the message from Irix, as it explains the problem very well :).
>
> cc-1241 cc: ERROR File = parser.c, Line = 1682
> A declaration cannot appear after an executable statement in a block.
This was already fixed in the CVS code - someone else pointed it out
to me. Expect findutils-4.2.2 on alpha.gnu.org quite soon.
[ ...]
[ Problem with N_ macro in locate.c ]
> This patch fixes that problem for version 4.1.20. It is needed in
> 4.2.1 too.
Applied to the development code. I made a similar change in all the
files that use the same construct.