mirror of
https://github.com/livingcomputermuseum/pdp7-unix.git
synced 2026-02-04 23:55:22 +00:00
According to cat.s, fd 8 is standard error (not fd2!). I've updated
the a7out simulator to have STDERR on fd 8.
This commit is contained in:
@@ -50,6 +50,7 @@ sub load_code {
|
||||
# Set up two file open filehandles
|
||||
$FD[0] = \*STDIN;
|
||||
$FD[1] = \*STDOUT;
|
||||
$FD[8] = \*STDERR; # According to cat.s (uses d8 == 8)
|
||||
|
||||
# Open up the file
|
||||
open( my $IN, "<", $filename ) || die("Unable to open $filename: $!\n");
|
||||
|
||||
Reference in New Issue
Block a user