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 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.


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