Hi Eric,

* Eric Blake wrote on Sat, Jul 25, 2009 at 03:02:50AM CEST:
> According to Ralf Wildenhues on 7/24/2009 2:39 PM:
> > Do you see any other way out except to undo the move to use a shell
> > function for AS_EXIT (740062eb42)?
> 
> Yep - by always passing an argument to the function (that is, doing the
> defaulting in m4sugar rather than in shell), as follows:

Thanks, that fixes this failure and makes the test group skip
(harmlessly) in the last AT_CHECK.

Cheers,
Ralf

> Subject: [PATCH] Fix AS_EXIT for FreeBSD sh.
> 
> * lib/m4sugar/m4sh.m4 (AS_EXIT): Always supply an argument to the
> shell function, since $? is not reliable on function entry.
> (_AS_EXIT_PREPARE): Simplify to assume argument.


Reply via email to