From: Roland McGrath Date: Wed, 16 Feb 2005 10:52:50 +0000 (+0000) Subject: 2005-01-19 Jakub Jelinek X-Git-Tag: cvs/fedora-glibc-2_3-20050216T1256~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b8f0808daad1754011513285421134c051641b3;p=thirdparty%2Fglibc.git 2005-01-19 Jakub Jelinek * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo in assert. * iconv/strtab.c (strtabfinalize): Likewise. --- diff --git a/hurd/sigunwind.c b/hurd/sigunwind.c index 450a385a2ab..e2791eab832 100644 --- a/hurd/sigunwind.c +++ b/hurd/sigunwind.c @@ -111,7 +111,7 @@ _hurdsig_longjmp_from_handler (void *data, jmp_buf env, int val) link = (void *) &scp[1]; assert (! link->resource.next && ! link->resource.prevp); assert (link->thread.next == ss->active_resources); - assert (link->thread.prevp = &ss->active_resources); + assert (link->thread.prevp == &ss->active_resources); if (link->thread.next) link->thread.next->thread.prevp = &link->thread.next; ss->active_resources = link; diff --git a/iconv/strtab.c b/iconv/strtab.c index e6feb2cf24a..32c00041f3f 100644 --- a/iconv/strtab.c +++ b/iconv/strtab.c @@ -326,7 +326,7 @@ strtabfinalize (struct Strtab *st, size_t *size) copylen = 1; copystrings (st->root, &endp, ©len); assert (copylen == st->total + 1); - assert (endp = retval + st->total + 1); + assert (endp == retval + st->total + 1); *size = copylen; return retval;