diff options
author | Marcus Brinkmann <marcus@gnu.org> | 2001-01-07 17:02:56 +0000 |
---|---|---|
committer | Marcus Brinkmann <marcus@gnu.org> | 2001-01-07 17:02:56 +0000 |
commit | c39b618a82580064c268ac9c88b4fe414741a1ec (patch) | |
tree | daa2e3d67d41ef58638a16b6bc55caa568225f25 /boot/ChangeLog | |
parent | fdca3f5c92c7f5f5928e03c9e879c81f764a0b6a (diff) | |
download | hurd-c39b618a82580064c268ac9c88b4fe414741a1ec.tar.gz hurd-c39b618a82580064c268ac9c88b4fe414741a1ec.tar.bz2 hurd-c39b618a82580064c268ac9c88b4fe414741a1ec.zip |
2000-12-21 Marcus Brinkmann <marcus@gnu.org>
* boot.c (main): If malloc or realloc fails, print diagnostic
message and exit.
(queue_read): Change return type from void to kern_return_t.
If malloc fails, return D_NO_MEMORY, otherwise D_SUCCESS (to simplify
code flow, malloc before acquiring the queuelock).
(ds_device_read): New variable err (local to the block in which it is used).
If queue_read fails, pass through error.
(ds_device_read_inband): Likewise.
(S_io_read): Likewise.
Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>.
Diffstat (limited to 'boot/ChangeLog')
-rw-r--r-- | boot/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/boot/ChangeLog b/boot/ChangeLog index 57cf1677..e39de84f 100644 --- a/boot/ChangeLog +++ b/boot/ChangeLog @@ -1,3 +1,16 @@ +2000-12-21 Marcus Brinkmann <marcus@gnu.org> + + * boot.c (main): If malloc or realloc fails, print diagnostic + message and exit. + (queue_read): Change return type from void to kern_return_t. + If malloc fails, return D_NO_MEMORY, otherwise D_SUCCESS (to simplify + code flow, malloc before acquiring the queuelock). + (ds_device_read): New variable err (local to the block in which it is used). + If queue_read fails, pass through error. + (ds_device_read_inband): Likewise. + (S_io_read): Likewise. + Reported by Igor Khavkine <i_khavki@alcor.concordia.ca>. + 2000-03-17 Roland McGrath <roland@baalperazim.frob.com> * boot.c (S_io_reauthenticate): Check mach_port_insert_right result |