projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d1942a3
)
1999-07-20 Mark Kettenis <kettenis@gnu.org>
author
roland
<roland>
Tue, 20 Jul 1999 21:04:47 +0000
(21:04 +0000)
committer
roland
<roland>
Tue, 20 Jul 1999 21:04:47 +0000
(21:04 +0000)
* sysdeps/mach/hurd/sysd-stdio.c (__stdio_read): Call
_hurd_fd_read with new OFFSET argument set to -1.
(__stdio_write): Call _hurd_fd_write with new OFFSET argument set
to -1.
sysdeps/mach/hurd/sysd-stdio.c
patch
|
blob
|
history
diff --git
a/sysdeps/mach/hurd/sysd-stdio.c
b/sysdeps/mach/hurd/sysd-stdio.c
index
d12804a
..
fea9b56
100644
(file)
--- a/
sysdeps/mach/hurd/sysd-stdio.c
+++ b/
sysdeps/mach/hurd/sysd-stdio.c
@@
-61,7
+61,7
@@
__stdio_read (cookie, buf, n)
if (! fd)
return __hurd_fail (EBADF);
- if (err = _hurd_fd_read (fd, buf, &n))
+ if (err = _hurd_fd_read (fd, buf, &n
, -1
))
return fd_fail (fd, err);
return n;
@@
-86,7
+86,7
@@
__stdio_write (cookie, buf, n)
do
{
wrote = nleft;
- if (err = _hurd_fd_write (fd, buf, &wrote))
+ if (err = _hurd_fd_write (fd, buf, &wrote
, -1
))
return fd_fail (fd, err);
buf += wrote;
nleft -= wrote;