summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby
diff options
context:
space:
mode:
authorLi Zhou <li.zhou@windriver.com>2019-07-01 10:07:16 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-02 08:10:36 +0100
commitab16d9ccaf824fbda5e43c5b3cbdc43ec70be87f (patch)
tree9e0e0fb31987324bc97954f3efcc8b8a343f88c2 /meta/recipes-devtools/ruby
parentb97a5a37262a8d7ce45ae75d861e87dfe28fe0df (diff)
downloadopenembedded-core-contrib-ab16d9ccaf824fbda5e43c5b3cbdc43ec70be87f.tar.gz
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 Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ruby')
0 files changed, 0 insertions, 0 deletions