diff options
author | Roland McGrath <roland@gnu.org> | 2005-02-16 10:52:50 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-02-16 10:52:50 +0000 |
commit | 2b8f0808daad1754011513285421134c051641b3 (patch) | |
tree | fd133acd9f4a7bdf08f5104c8e2b1690fc5071ae | |
parent | db228898f2aebd5c3feeec16db807cfe2d35e565 (diff) |
2005-01-19 Jakub Jelinek <jakub@redhat.com>
* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
in assert.
* iconv/strtab.c (strtabfinalize): Likewise.
-rw-r--r-- | hurd/sigunwind.c | 2 | ||||
-rw-r--r-- | iconv/strtab.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/hurd/sigunwind.c b/hurd/sigunwind.c index 450a385a2a..e2791eab83 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 e6feb2cf24..32c00041f3 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; |