mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-08 17:42:12 +03:00
Update.
2004-06-15 Steven Munroe <sjmunroe@us.ibm.com> * tst-context1.c (GUARD_PATTERN): Defined. (tst_context_t): Define struct containing ucontext_t & guard words. (ctx): Declare as an array of tst_context_t. (fct): Verify uc_link & guard words are still valid. (tf): Initialize guard words in ctx. Adjust ctx refs for new struct.
This commit is contained in:
@@ -93,7 +93,7 @@ xdr_pmaplist (xdrs, rp)
|
||||
*/
|
||||
bool_t more_elements;
|
||||
int freeing = (xdrs->x_op == XDR_FREE);
|
||||
struct pmaplist **next = NULL;
|
||||
struct pmaplist *next = NULL;
|
||||
|
||||
while (TRUE)
|
||||
{
|
||||
@@ -108,12 +108,12 @@ xdr_pmaplist (xdrs, rp)
|
||||
* before we free the current object ...
|
||||
*/
|
||||
if (freeing)
|
||||
next = &((*rp)->pml_next);
|
||||
next = (*rp)->pml_next;
|
||||
if (!INTUSE(xdr_reference) (xdrs, (caddr_t *) rp,
|
||||
(u_int) sizeof (struct pmaplist),
|
||||
(xdrproc_t) INTUSE(xdr_pmap)))
|
||||
return FALSE;
|
||||
rp = freeing ? next : &((*rp)->pml_next);
|
||||
rp = freeing ? &next : &((*rp)->pml_next);
|
||||
}
|
||||
}
|
||||
INTDEF(xdr_pmaplist)
|
||||
|
Reference in New Issue
Block a user