projects
/
external
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9ffd39
)
2000-12-28 Roland McGrath <roland@frob.com>
author
Roland McGrath
<roland@gnu.org>
Thu, 28 Dec 2000 20:44:11 +0000
(20:44 +0000)
committer
Roland McGrath
<roland@gnu.org>
Thu, 28 Dec 2000 20:44:11 +0000
(20:44 +0000)
* sysdeps/mach/hurd/ioctl.c (do_ioctl): Avoid double-increment after
__mempcpy does it for us.
sysdeps/mach/hurd/ioctl.c
patch
|
blob
|
history
diff --git
a/sysdeps/mach/hurd/ioctl.c
b/sysdeps/mach/hurd/ioctl.c
index
12b21d3
..
5c6138f
100644
(file)
--- a/
sysdeps/mach/hurd/ioctl.c
+++ b/
sysdeps/mach/hurd/ioctl.c
@@
-97,7
+97,6
@@
__ioctl (int fd, unsigned long int request, ...)
*t = io2mach_type (count, type);
p = __mempcpy (p, argptr, len);
argptr += len;
- p += len;
p = (void *) (((uintptr_t) p + sizeof (*t) - 1)
& ~(sizeof (*t) - 1));
t = p;