autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] _AS_REEXEC_WITH_SHELL: don’t use AS_EXIT.


From: Nick Bowler
Subject: Re: [PATCH] _AS_REEXEC_WITH_SHELL: don’t use AS_EXIT.
Date: Fri, 13 Mar 2020 15:01:13 -0400

On 2020-03-13, Zack Weinberg <address@hidden> wrote:
> This is only a theoretical bug because, as the comments say, “all the
> known shells bail out after a failed exec.”  However, a shell that
> doesn’t bail out will instead give the user a flood of nonsensical
> error messages (starting with “as_fn_exit: not found” and then going
> on to choke on the rest of the script) so I think we should fix it
> anyway.

Seems not even a theoretical possibility but rather a fictional one...
this behaviour of "exec" dates back to the original Bourne shell that
came with V7 UNIX and is specified in the POSIX shell language.

But by the same token it cannot possibly hurt to change this :)

Cheers,
  Nick



reply via email to

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