summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-12-25 23:02:11 +0000
committergreen <green@FreeBSD.org>1999-12-25 23:02:11 +0000
commitb87a68184e497189f6faf63f633932617e7954b6 (patch)
treef02e7edbe60f8f0c435ff3148dabebbc73e05ab3 /math
parentdae5278023a9fed13a8e881eac254d0a423c53b4 (diff)
downloadFreeBSD-ports-b87a68184e497189f6faf63f633932617e7954b6.zip
FreeBSD-ports-b87a68184e497189f6faf63f633932617e7954b6.tar.gz
Bugfix for something noticed by jmz: $PAGER usage was broken due to
incorrect usage of fputs().
Diffstat (limited to 'math')
-rw-r--r--math/calc/files/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/calc/files/patch-ac b/math/calc/files/patch-ac
new file mode 100644
index 0000000..d22cadb
--- /dev/null
+++ b/math/calc/files/patch-ac
@@ -0,0 +1,11 @@
+--- help.c.orig Sat Dec 25 17:57:30 1999
++++ help.c Sat Dec 25 17:56:57 1999
+@@ -137,7 +137,7 @@
+ /*
+ * write the line to pager, if possible
+ */
+- } while(fputs(buf, cmd) > 0);
++ } while (fputs(buf, cmd) == 0);
+
+ /*
+ * all done, EOF or error, so just clean up
OpenPOWER on IntegriCloud