=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/window/Attic/wwrint.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/window/Attic/wwrint.c 2003/08/01 22:01:38 1.7 --- src/usr.bin/window/Attic/wwrint.c 2005/04/13 02:33:09 1.8 *************** *** 1,4 **** ! /* $OpenBSD: wwrint.c,v 1.7 2003/08/01 22:01:38 david Exp $ */ /* $NetBSD: wwrint.c,v 1.4 1995/12/21 10:46:24 mycroft Exp $ */ /* --- 1,4 ---- ! /* $OpenBSD: wwrint.c,v 1.8 2005/04/13 02:33:09 deraadt Exp $ */ /* $NetBSD: wwrint.c,v 1.4 1995/12/21 10:46:24 mycroft Exp $ */ /* *************** *** 37,43 **** #if 0 static char sccsid[] = "@(#)wwrint.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: wwrint.c,v 1.7 2003/08/01 22:01:38 david Exp $"; #endif #endif /* not lint */ --- 37,43 ---- #if 0 static char sccsid[] = "@(#)wwrint.c 8.1 (Berkeley) 6/6/93"; #else ! static char rcsid[] = "$OpenBSD: wwrint.c,v 1.8 2005/04/13 02:33:09 deraadt Exp $"; #endif #endif /* not lint */ *************** *** 62,68 **** int n; wwnread++; ! n = read(0, wwibq, wwibe - wwibq); if (n > 0) { if (tt.tt_rint) n = (*tt.tt_rint)(wwibq, n); --- 62,68 ---- int n; wwnread++; ! n = read(STDIN_FILENO, wwibq, wwibe - wwibq); if (n > 0) { if (tt.tt_rint) n = (*tt.tt_rint)(wwibq, n);