Hi, I am writting to report a weird behavior of hcreate_r function from libc6. After being for some long, long hours debugging my program, I decided to open the source code from GNU and discovered that they require the hsearch_data structure passed to hcreate_r to be initialized with zeroes (all fields NULL). There is nothing reporting this in the manpages, although I think this is actually an implementation flaw from GNU. Well, I hope this can help someone else not to be spending time debugging a program whose bug is in libc6... :-) Cheers, Bruno. -- Bruno Diniz de Paula <diniz@cs.rutgers.edu> Rutgers University
Attachment:
signature.asc
Description: This is a digitally signed message part