Li Zhou
2238858773
bc: dc: fix exit code of q command
...
The exit code for "echo q | dc" is 1 for dc-1.4.1;
while the exit code for "echo q | dc" is 0 for dc-1.4.
Here is the answer from ken@gnu.org:
dc-1.4 was right. There was a rewrite of a chunk of code for 1.4.1 to
fix a corner case in the Q command, and somehow the placement of the
clean-up label for the 'q' command got misplaced on the error-handling
branch instead of the clean-exit branch. The patch below fixes this
(it is committed for whenever the next bc/dc release gets made).
Thanks for the report,
--Ken Pizzini
(From OE-Core rev: ab16d9ccaf824fbda5e43c5b3cbdc43ec70be87f)
Signed-off-by: Li Zhou <li.zhou@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-07-02 08:13:07 +01:00
..
2019-05-22 07:24:52 +01:00
2019-04-05 17:32:50 +01:00
2018-12-05 22:30:19 +00:00
2019-06-24 10:36:28 +01:00
2019-07-02 08:13:07 +01:00
2019-03-29 08:28:53 +00:00
2019-05-16 16:35:12 +01:00
2019-05-27 17:06:34 +01:00
2019-05-08 12:15:17 +01:00
2019-04-12 14:05:38 +01:00
2019-06-27 12:20:36 +01:00
2019-06-14 22:48:22 +01:00
2019-01-18 16:24:40 +00:00
2019-05-28 10:47:02 +01:00
2019-02-28 13:21:54 +00:00
2019-06-28 13:28:37 +01:00
2019-05-12 17:55:11 +01:00
2017-11-30 10:49:22 +00:00
2017-12-10 22:45:19 +00:00
2019-02-19 16:14:57 +00:00
2019-06-04 23:09:25 +01:00
2019-05-16 16:35:12 +01:00
2019-02-19 16:14:57 +00:00
2019-03-07 12:27:34 +00:00
2019-04-16 11:10:02 +01:00
2018-07-26 13:16:40 +01:00
2019-06-19 12:46:43 +01:00
2018-11-14 11:14:39 +00:00
2019-03-29 08:28:53 +00:00
2019-06-04 23:09:25 +01:00
2017-12-02 11:25:32 +00:00
2018-05-09 10:47:51 +01:00
2018-07-05 11:39:06 +01:00
2019-02-20 11:30:35 +00:00
2019-06-30 22:40:52 +01:00
2019-04-12 14:05:37 +01:00
2019-06-19 12:46:43 +01:00
2019-01-11 10:39:09 +00:00
2018-07-26 13:16:40 +01:00
2018-10-10 17:59:09 +01:00
2019-06-28 13:28:37 +01:00
2019-02-19 16:14:57 +00:00
2019-05-12 17:55:11 +01:00
2019-05-12 17:55:11 +01:00
2019-06-27 12:20:36 +01:00
2019-06-27 12:20:36 +01:00
2018-08-24 07:53:14 +01:00
2018-07-06 22:59:33 +01:00
2019-05-08 23:00:32 +01:00
2018-11-23 23:35:19 +00:00
2019-06-20 13:14:21 +01:00
2019-05-30 12:37:03 +01:00
2019-06-04 23:09:25 +01:00
2019-06-21 00:33:23 +01:00
2018-05-15 10:56:49 +01:00
2019-06-19 12:46:43 +01:00
2019-06-30 23:33:45 +01:00
2019-05-12 09:04:26 +01:00
2018-11-23 23:35:19 +00:00
2019-04-23 23:30:19 +01:00
2018-11-14 11:14:40 +00:00
2018-05-29 21:07:17 +01:00
2018-08-15 09:44:33 +01:00
2019-06-07 09:11:49 +01:00
2019-06-19 12:46:43 +01:00
2019-06-07 09:11:49 +01:00
2019-02-20 11:30:35 +00:00
2019-06-27 12:20:36 +01:00
2019-06-19 12:46:43 +01:00
2019-05-27 17:06:34 +01:00
2019-06-04 09:09:42 +01:00
2017-11-05 22:33:22 +00:00
2019-05-27 17:06:34 +01:00
2018-05-04 13:28:05 +01:00
2019-04-03 14:50:13 +01:00
2018-11-09 17:46:18 +00:00
2018-06-18 11:07:57 +01:00
2019-04-26 10:09:08 +01:00
2018-06-18 11:07:57 +01:00
2018-06-15 17:56:24 +01:00
2018-07-24 11:52:26 +01:00
2019-06-04 09:09:42 +01:00