mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Bugfix for something noticed by jmz: $PAGER usage was broken due to
incorrect usage of fputs().
This commit is contained in:
parent
49cd649dd5
commit
aede170cb9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24092
1 changed files with 11 additions and 0 deletions
11
math/calc/files/patch-ac
Normal file
11
math/calc/files/patch-ac
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue