[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Undocumented behavior of hcreate_r

On Wed, Apr 30, 2003 at 11:54:29AM -0400, Bruno Diniz de Paula wrote:
> 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... :-)

Why not report it as a wishlist bug?  Perhaps even with a man-page
patch?  [ Saves people searching for/stumbling across the mailing list
archive ...]

Karl E. Jørgensen
karl@jorgensen.com   http://karl.jorgensen.com
==== Today's fortune:
I don't mind what Congress does, as long as they don't do it in the
streets and frighten the horses.
		-- Victor Hugo

Attachment: pgppbIgQtg0US.pgp
Description: PGP signature

Reply to: