git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] support bc version 1.04

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jul 28, 2005, 14:48 UTC
Message-ID
<Pine.LNX.4.58.0507281648150.25783@wgmdd8.biozentrum.uni-wuerzburg.de>
Test t6002 unnecessarily fails when bc is a bit older than average.
Signed-off-by: Johannes.Schindelin <Johannes.Schindelin@gmx.de>
---
 t/t6002-rev-list-bisect.sh |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)
ccea5a568914eafc07caf0c291afe5f962672cd3
diff --git a/t/t6002-rev-list-bisect.sh b/t/t6002-rev-list-bisect.sh
--- a/t/t6002-rev-list-bisect.sh
+++ b/t/t6002-rev-list-bisect.sh
@@ -11,8 +11,12 @@ bc_expr()
 {
 bc <<EOF
 scale=1
-define abs(x) { if (x>=0) { return x; } else { return -x; } }
-define floor(x) { save=scale; scale=0; result=x/1; scale=save; return result; }
+define abs(x) {
+	if (x>=0) { return (x); } else { return (-x); }
+}
+define floor(x) {
+	save=scale; scale=0; result=x/1; scale=save; return (result);
+}
 $*
 EOF
 }
Message 1 of 1 in “support bc version 1.04”
  1. support bc version 1.04Johannes Schindelin, Jul 28, 2005

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.