Properly recover from shorter read.
[glibc.git] / libidn / ChangeLog
blob15efe0e88fdcb3fef4cbf537c9d3201856a1b95d
1 2008-02-10  Jim Meyering  <meyering@redhat.com>
3         * stringprep.c (stringprep, stringprep_profile): Remove useless
4         "if" before "free".
6 2006-02-27  Roland McGrath  <roland@redhat.com>
8         * Makefile: Use $(..) in place of ../.
9         * configure.in (libc_add_on_canonical, libc_add_on_subdirs): Set them.
10         * configure: Regenerated.
12 2006-02-25  Roland McGrath  <roland@redhat.com>
14         * configure.in: New file.
15         * configure: Replaced with generated file.
16         * sysdeps/unix/configure: File removed.
18 2005-03-08  Paul Eggert  <eggert@cs.ucla.edu>
20         * iconvme.c (SIZE_MAX): New macro, if not already defined.
21         (iconv_string): Don't guess a size-zero buffer, as that might cause
22         buffer overrun.  Instead, avoid multiplying by MB_LEN_MAX if the
23         result would be 'too large', where 'too large' is (heuristically)
24         the square root of SIZE_MAX, divided by MB_LEN_MAX to allay
25         overflow concerns.  This will prevent some unwanted malloc failures
26         when the inputs are very large.
28 2005-02-12  Simon Josefsson  <jas@extundo.com >
30         * iconvme.h: New file, extracted from toutf8.c but improved.
31         * iconvme.c: New file.
32         * toutf8.c: Include stringprep.h first, to make the compiler check
33         that stringprep.h is standalone.  Improve comments.  Replace
34         #include of errno.h and sys/param.h with iconvme.h.  Don't define
35         ICONV_CONST.
36         (stringprep_convert): Rewrite to use iconvme.h.
37         * Makefile (libcidn-routines): Add iconvme.
39 2004-10-05  Ulrich Drepper  <drepper@redhat.com>
41         * idn-stub.c (unload_libidn): Don't define outside libc.
43 2004-07-02  Roland McGrath  <roland@redhat.com>
45         * configure: Don't exit.
47 2004-05-21  Ulrich Drepper  <drepper@redhat.com>
49         * idna.c (idna_to_unicode_4z4z): Fix test for failed memory allocation.
50         Patch by Simon Josefsson.
52 2004-05-06  Ulrich Drepper  <drepper@redhat.com>
54         * stringprep.c (stringprep): Free memory if allocation failed.
55         * idna.c: Fix memory handling in several places.
57 2004-04-22  Simon Josefsson  <jas@extundo.com>
59         * stringprep.h: Update to latest libidn version.
60         * stringprep.c: Likewise.
61         * idna.c: Likewise.
63 2004-03-14  Ulrich Drepper  <drepper@redhat.com>
65         * idn-stub.c (__idna_to_unicode_lzlz): Use __strchrnul, not strchrnul.
67         * idna.c (idna_to_ascii_4z): Revert last patch.
69 2004-03-12  Ulrich Drepper  <drepper@redhat.com>
71         * idna.c (idna_to_ascii_4z): Use strdup if available.  Unify two ifs.
73         * idn-stub.c: Implement __idna_to_unicode_lzlz.  Split
74         __idna_to_ascii_lz in two parts so that loading can be shared with
75         the new function.
76         * Versions (libcidn): Export idna_to_unicode_lzlz.
78         * Makefile (libcidn-inhibit-o): Define.  We need no archive.
80 2004-03-08  Simon Josefsson  <jas@extundo.com>
82         * toutf8.c: Update to latest libidn version.
84 2004-03-08  Ulrich Drepper  <drepper@redhat.com>
86         * stringprep.h: Don't include idn-int.h in glibc.
87         * idn-int.h: Removed.
89 2004-03-07  Ulrich Drepper  <drepper@redhat.com>
91         * idn-stub.c: Include <gnu/lib-names.h>.  Use LIBCIDN_SO for dlopen.
92         * shlib-versions: New file.
93         * toutf8.c: Include <sys/param.h>.
95 2004-03-07  Simon Josefsson  <jas@extundo.com>
97         * Banner: New file.
98         * Makefile: New file.
99         * Version: New file.
100         * configure: New file.
101         * idn-stub.c: New file.
102         * gunibreak.h: New file.  Copied from Libidn.
103         * gunicomp.h: New file.  Copied from Libidn.
104         * gunidecomp.h: New file.  Copied from Libidn.
105         * idna.h: New file.  Copied from Libidn.
106         * idna.c: New file.  Copied from Libidn.
107         * nfkc.c: New file.  Copied from Libidn.
108         * profiles.c: New file.  Copied from Libidn.
109         * punycode.c: New file.  Copied from Libidn.
110         * punycode.h: New file.  Copied from Libidn.
111         * rfc3454.c: New file.  Copied from Libidn.
112         * stringprep.c: New file.  Copied from Libidn.
113         * stringprep.h: New file.  Copied from Libidn.
114         * toutf8.c: New file.  Copied from Libidn.  Modified for use in glibc.