[Patches] getargs.c

Trent Mick trentm@activestate.com
Sat, 17 Jun 2000 16:13:17 -0700


On Sun, Jun 18, 2000 at 12:26:29AM +0200, Vladimir Marangozov wrote:
> 
> This patch fixes a problem on AIX with the signed int case code in getargs.c,
> after Trent Mick's intervention about MIN/MAX overflow checks.  The AIX
> compiler/optimizer generates bogus code with the default flags "-g -O"
> causing test_builtin to fail: int("10", 16) <> 16L.

> Hopefully, swapping
> the two checks in the signed int code makes the problem go away.
> 
Does it?

Otherwise, I can't see how the patch will cause any issues elsewhere. So,
seems okay.

Trent


-- 
Trent Mick
trentm@activestate.com