{"thread":{"id":"1354","subject":"[PATCH] support bc version 1.04","startedAt":"2005-07-28T14:48:37Z","lastAt":"2005-07-28T14:48:37Z","messageCount":1,"participants":["Johannes Schindelin"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"6505","messageId":"Pine.LNX.4.58.0507281648150.25783@wgmdd8.biozentrum.uni-wuerzburg.de","threadId":"1354","inReplyTo":null,"subject":"[PATCH] support bc version 1.04","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2005-07-28T14:48:37Z","receivedAt":"2005-07-28T14:48:37Z","isPatch":true,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"\nTest t6002 unnecessarily fails when bc is a bit older than average.\n\nSigned-off-by: Johannes.Schindelin <Johannes.Schindelin@gmx.de>\n\n---\n\n t/t6002-rev-list-bisect.sh |    8 ++++++--\n 1 files changed, 6 insertions(+), 2 deletions(-)\n\nccea5a568914eafc07caf0c291afe5f962672cd3\ndiff --git a/t/t6002-rev-list-bisect.sh b/t/t6002-rev-list-bisect.sh\n--- a/t/t6002-rev-list-bisect.sh\n+++ b/t/t6002-rev-list-bisect.sh\n@@ -11,8 +11,12 @@ bc_expr()\n {\n bc <<EOF\n scale=1\n-define abs(x) { if (x>=0) { return x; } else { return -x; } }\n-define floor(x) { save=scale; scale=0; result=x/1; scale=save; return result; }\n+define abs(x) {\n+\tif (x>=0) { return (x); } else { return (-x); }\n+}\n+define floor(x) {\n+\tsave=scale; scale=0; result=x/1; scale=save; return (result);\n+}\n $*\n EOF\n }\n"}]}