Re: [OE-core] [PATCH] bc: dc: fix exit code of q command

2019-06-28 Thread Burton, Ross
The maintainer said: > The patch below fixes this > (it is committed for whenever the next bc/dc release gets made). So: > +Upstream-Status: Pending [Got the solution from maintainer] This should be Backport. Ross -- ___ Openembedded-core mailing

[OE-core] [PATCH] bc: dc: fix exit code of q command

2019-06-27 Thread Li Zhou
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 k...@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