This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/2569] utf-16 iconv module breaks programs
- From: "maestromae at kateos dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 25 Apr 2006 12:26:04 -0000
- Subject: [Bug libc/2569] utf-16 iconv module breaks programs
- References: <20060413132726.2569.maestromae@kateos.org>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From maestromae at kateos dot org 2006-04-25 12:26 -------
(In reply to comment #7)
> Ah, I managed to reproduce this with something much simpler than samba :-) :
>
> #include <iconv.h>
>
> int main() {
> iconv_t cd0, cd1;
> cd0 = iconv_open("ISO-8859-7", "UTF-16LE");
> cd1 = iconv_open("ISO-8859-7", "UTF-16LE");
> iconv_close(cd0);
> iconv_close(cd1);
> return 0;
> }
>
> It seems that opening two identical conversion descriptors is what triggers the
> error. Is there any reason why two identical descriptors should not be allowed ?
>
> Therefore I think that this is a glibc bug, after all. Perhaps reopening it is
> in order ?
I confirm that on my system this code reproduces the bug. In my opinion this
code should work, so i will reopen this bug. Correct me if i'm wrong :)
Regards.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|INVALID |
http://sourceware.org/bugzilla/show_bug.cgi?id=2569
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.