Files
make/tests/scripts/functions
Paul Smith 43181f1f82 [SV 28092] Preserve the exit status of the $(shell...) function.
Add a new variable .SHELLSTATUS which holds the exit status of the
last-invoked shell function or != assignment.

* NEWS, doc/make.texi: Document the change.
* function.c (shell_completed, msdos_openpipe, func_shell_base): Add
shell_completed() to handle the completion of the shell, by setting
.SHELLSTATUS.  Call it where needed.
* job.c (child_handler): Call shell_completed().
* tests/scripts/functions/shell: Add tests for .SHELLSTATUS.
2015-07-12 21:03:24 -04:00
..
2007-11-04 21:54:00 +00:00
2013-02-25 01:38:36 -05:00
2003-11-04 07:40:29 +00:00
2006-04-01 06:36:40 +00:00
2000-04-22 02:11:17 +00:00
2002-07-08 02:26:47 +00:00