Hello, I am using wget 1.10.2, last changed on Oct 13 2005, on a powerpc-ibm-aix5.3.0.0.
wget halted every time with this error message : wget: strdup: Failed to allocate 1 bytes; memory exhausted. I found that the function xmalloc.c:checking_strdup went into memfatal if malloc returned a null pointer. The null pointer was coming from the function utils.c:get_grouping_data because lconv->thousand_sep is null for my default locale. The function now does not go to strdup anymore if there is nothing to copy. diff -c src/utils.c.old src/utils.c (See attached file: patch.txt) Another bug i have found, but not solved is this one: configure tells me: checking for msgfmt... msgfmt but then make crashes with /bin/sh: msgfmt: not found A global search on my system did not reveal any msgfmt file.. A worked around it with --disable-nls , but I wonder why it then still tries to get thousand_sep from my locale ? Kind regards, Dirk Vanhaute
patch.txt
Description: Binary data
