diff options
Diffstat (limited to 'trans')
-rw-r--r-- | trans/ChangeLog | 5 | ||||
-rw-r--r-- | trans/streamio.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/trans/ChangeLog b/trans/ChangeLog index 47f85475..a03ae1a2 100644 --- a/trans/ChangeLog +++ b/trans/ChangeLog @@ -1,3 +1,8 @@ +2001-12-11 Marcus Brinkmann <marcus@gnu.org> + + * streamio.c (device_open_reply): In the D_INVALID_OPERATION case, + clear ERR, which is a global variable. + 2001-04-01 Neal H Walfield <neal@cs.uml.edu> * magic.c (trivfs_S_dir_lookup): Use iohelp_dup_iouser diff --git a/trans/streamio.c b/trans/streamio.c index 9019f208..fec00578 100644 --- a/trans/streamio.c +++ b/trans/streamio.c @@ -830,6 +830,7 @@ device_open_reply (mach_port_t reply, int returncode, mach_port_t device) /* XXX Assume that the block size is 1 and the whole size is 0. */ dev_blksize = 1; dev_size = 0; + err = 0; } else if (err == 0) { |