Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com List-Unsubscribe: List-Archive: List-Help: , Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com To: cygwin-developers AT sourceware DOT cygnus DOT com Subject: cat < /dev/null fail. Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII From: Kazuhiro Fujieda Date: 31 Jul 1999 15:51:37 +0900 Message-ID: Lines: 22 X-Mailer: Gnus v5.3/Emacs 19.34 Since the 199-Jul-17 snapshot, commands with redirection of the standard input, such as `cat < /dev/null' have failed in the notty mode on Win9x. $ cat < /dev/null 0 0 [main] C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\cat.exe 1002 spawn_guts: wait failed: nwait 3, pid 1002, winpid -231673, Win32 error 6 0 4921 [main] cat 1002 spawn_guts: waitbuf[0] 0x1F 0 20653 25574 [main] cat 1002 spawn_guts: waitbuf[1] 0x12 = 0 $ I can't collect a strace log, because the strace command fails as the following. $ strace -o /tmp/strace.log cat < /dev/nul 0 0 [main] C:\CYGNUS\CYGWIN~1\H-I586~1\BIN\strace.exe 1005 spawn_guts: wait failed: nwait 3, pid 1005, winpid -232277, Win32 error 6 0 5059 [main] strace 1005 spawn_guts: waitbuf[0] 0x1F 0 12747 17806 [main] strace 1005 spawn_guts: waitbuf[1] 0x12 = 0 $ ____ | AIST Kazuhiro Fujieda | HOKURIKU School of Information Science o_/ 1990 Japan Advanced Institute of Science and Technology