summaryrefslogtreecommitdiff
path: root/math/calc/files
diff options
context:
space:
mode:
authorBrian Feldman <green@FreeBSD.org>1999-12-25 23:02:11 +0000
committerBrian Feldman <green@FreeBSD.org>1999-12-25 23:02:11 +0000
commitaede170cb9701a1badfcded954c9e3a8f15a255f (patch)
treef07d2c88a2e220301049b72d15c707d8d592938b /math/calc/files
parentTweak (diff)
Bugfix for something noticed by jmz: $PAGER usage was broken due to
incorrect usage of fputs().
Notes
Notes: svn path=/head/; revision=24092
Diffstat (limited to 'math/calc/files')
-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 000000000000..d22cadb9b7bc
--- /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