aboutsummaryrefslogtreecommitdiff
path: root/iconv/strtab.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-01-19 19:26:29 +0000
committerRoland McGrath <roland@gnu.org>2005-01-19 19:26:29 +0000
commitf9f7fcbe4703a9709fdd87aa4124436e70af1c1a (patch)
treef9f34698d5df4f8215fde7a63c816fb4315cf157 /iconv/strtab.c
parent1d038b6bb27e421c593e79f860f1a41c7d1c7a5d (diff)
downloadglibc-f9f7fcbe4703a9709fdd87aa4124436e70af1c1a.zip
glibc-f9f7fcbe4703a9709fdd87aa4124436e70af1c1a.tar.gz
glibc-f9f7fcbe4703a9709fdd87aa4124436e70af1c1a.tar.bz2
* hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typo
in assert. * iconv/strtab.c (strtabfinalize): Likewise. * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
Diffstat (limited to 'iconv/strtab.c')
-rw-r--r--iconv/strtab.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iconv/strtab.c b/iconv/strtab.c
index e6feb2c..4a8f29a 100644
--- a/iconv/strtab.c
+++ b/iconv/strtab.c
@@ -1,5 +1,5 @@
/* C string table handling.
- Copyright (C) 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001, 2005 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@redhat.com>, 2000.
This program is free software; you can redistribute it and/or modify
@@ -326,7 +326,7 @@ strtabfinalize (struct Strtab *st, size_t *size)
copylen = 1;
copystrings (st->root, &endp, &copylen);
assert (copylen == st->total + 1);
- assert (endp = retval + st->total + 1);
+ assert (endp == retval + st->total + 1);
*size = copylen;
return retval;