[BusyBox-cvs] busybox/util-linux more.c,1.62,1.63
Erik Andersen
andersen at busybox.net
Sat Mar 27 10:02:52 UTC 2004
Update of /var/cvs/busybox/util-linux
In directory nail:/tmp/cvs-serv8801/busybox/util-linux
Modified Files:
more.c
Log Message:
s/fileno\(stdin\)/STDIN_FILENO/g
s/fileno\(stdout\)/STDOUT_FILENO/g
Index: more.c
===================================================================
RCS file: /var/cvs/busybox/util-linux/more.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -d -r1.62 -r1.63
--- a/more.c 27 Mar 2004 09:49:57 -0000 1.62
+++ b/more.c 27 Mar 2004 10:02:48 -0000 1.63
@@ -76,7 +76,7 @@
/* not use inputing from terminal if usage: more > outfile */
- if(isatty(fileno(stdout))) {
+ if(isatty(STDOUT_FILENO)) {
cin = fopen(CURRENT_TTY, "r");
if (!cin)
cin = bb_xfopen(CONSOLE_DEV, "r");
More information about the busybox-cvs
mailing list