diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-12-11 21:45:58 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-12-11 21:45:58 +0000 |
commit | bd7f175b255c4f181131d90da8bdc9a3734ef6d7 (patch) | |
tree | 308b82e64912448440c914049b31fc0684c71f14 /trans | |
parent | 2c3c5e29a709aa7a4063054509057327b930976e (diff) |
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.
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) { |