mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00: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
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…
Reference in New Issue
Block a user