projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58bb655
)
hurd: Fix spawni's user_link reallocation
author
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Sun, 11 Nov 2018 19:08:29 +0000
(20:08 +0100)
committer
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Sun, 11 Nov 2018 19:09:17 +0000
(20:09 +0100)
* hurd/hurd/userlink.h (_hurd_userlink_move): Make new_link's
predecessor point to new_link instead of link.
hurd/hurd/userlink.h
patch
|
blob
|
history
diff --git
a/hurd/hurd/userlink.h
b/hurd/hurd/userlink.h
index
484706a
..
b23567e
100644
(file)
--- a/
hurd/hurd/userlink.h
+++ b/
hurd/hurd/userlink.h
@@
-158,11
+158,11
@@
_hurd_userlink_move (struct hurd_userlink *new_link,
if (new_link->resource.next != NULL)
new_link->resource.next->resource.prevp = &new_link->resource.next;
- *new_link->resource.prevp = link;
+ *new_link->resource.prevp =
new_
link;
if (new_link->thread.next != NULL)
new_link->thread.next->thread.prevp = &new_link->thread.next;
- *new_link->thread.prevp = link;
+ *new_link->thread.prevp =
new_
link;
}
# endif
#endif