This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/2569] utf-16 iconv module breaks programs


------- Additional Comments From thkala at softlab dot ece dot ntua dot gr  2006-04-25 11:54 -------
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 ?

Regards,

Theodoros Kalamatianos


-- 


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]