* src/fold.c (fold_file): Advice istream, not stdin.
---
src/fold.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/fold.c b/src/fold.c
index d585856..4da834b 100644
--- a/src/fold.c
+++ b/src/fold.c
@@ -143,7 +143,7 @@ fold_file (char const *filename, size_t width)
return false;
}
- fadvise (stdin, FADVISE_SEQUENTIAL);
+ fadvise (istream, FADVISE_SEQUENTIAL);
while ((c = getc (istream)) != EOF)
{
--
1.7.3.1
--
Andreas Schwab, [email protected]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."