Jilles Tjoelker
93fcb2511b
sh: Fix some bugs with exit status from case containing ;&.
...
Also, rework evalcase() to not evaluate any tree. Instead, return the
NCLISTFALLTHRU node and handle it in evaltree().
Fixed bugs:
* If a ;& list with non-zero exit status is followed by an empty ;; or final
list, the exit status of the case command should be equal to the exit
status of the ;& list, not 0.
* An empty ;& case should not reset $?.
2012-01-15 21:39:38 +00:00
..
2011-10-31 08:59:17 +00:00
2010-10-08 12:40:16 +00:00
2011-12-11 20:53:12 +00:00
2011-05-13 16:29:57 +00:00
2010-06-05 08:50:39 +00:00
2011-02-26 18:54:54 +00:00
2010-06-04 06:56:58 +00:00
2009-01-30 16:23:57 +00:00
2011-10-18 08:20:36 +00:00
2006-12-18 15:45:01 +00:00
2010-11-12 22:43:40 +00:00
2011-12-16 21:12:23 +00:00
2011-07-09 12:20:15 +00:00
2010-06-11 06:04:07 +00:00
2009-06-23 23:30:56 +00:00
2011-02-21 16:03:39 +00:00
2011-03-01 21:48:22 +00:00
2011-10-31 08:59:17 +00:00
2011-10-19 15:35:41 +00:00
2011-10-31 08:59:17 +00:00
2011-10-31 08:59:17 +00:00
2011-05-22 14:03:38 +00:00
2011-02-04 16:40:50 +00:00
2012-01-07 16:10:23 +00:00
2010-04-14 19:08:06 +00:00
2011-06-24 07:29:04 +00:00
2011-06-21 19:34:57 +00:00
2011-10-31 08:59:17 +00:00
2010-02-15 14:07:40 +00:00
2006-12-27 12:14:56 +00:00
2011-04-09 07:42:25 +00:00
2012-01-15 21:39:38 +00:00
2010-08-02 10:59:23 +00:00
2011-12-11 09:56:48 +00:00
2011-11-25 23:45:29 +00:00
2009-10-15 18:17:29 +00:00
2010-09-13 01:29:51 +00:00