diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-08-10 15:43:26 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-08-10 16:02:27 -0700 |
commit | 55cd2351d0b3f81dea45cbb07bc5338a1d5b9973 (patch) | |
tree | 23909117d103edeb4b02eb99c977150d63f3194a /com32/lib/sys/unread.c | |
parent | f614a40876843b7de58d8410b47c8c68e2ab6992 (diff) | |
download | syslinux-dynamic.tar.gz |
read: handle the case of partial data from unreaddynamic
Correctly handle the case of partial data from the unread buffer, and
partial data via the device read mechanism. We need to advance the
buffer pointer.
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/lib/sys/unread.c')
-rw-r--r-- | com32/lib/sys/unread.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/com32/lib/sys/unread.c b/com32/lib/sys/unread.c index 08f8b3bf..5b391229 100644 --- a/com32/lib/sys/unread.c +++ b/com32/lib/sys/unread.c @@ -1,6 +1,7 @@ /* ----------------------------------------------------------------------- * * - * Copyright 2004-2008 H. Peter Anvin - All Rights Reserved + * Copyright 2004-2009 H. Peter Anvin - All Rights Reserved + * Copyright 2009 Intel Corporation; author: H. Peter Anvin * * Permission is hereby granted, free of charge, to any person * obtaining a copy of this software and associated documentation |