"Hopkins, Scott" <[EMAIL PROTECTED]> writes:

>       Worked perfect.  Thanks for the help.

Actually, I find it surprising that AIX's strdup would have such a
bug, and that it would go undetected.  It is possible that the problem
lies elsewhere and that the change is just masking the real bug.
strdup can be easily tested with a program such as:

#include <stdio.h>
#include <string.h>

int main()
{
  const char *empty = "";
  printf("%p\n", strdup(empty));
  return 0;
}

Please compile the program with the compiler and compilation flags
that Wget uses.  If it prints zero, it's an AIX strdup problem;
otherwise, the problem is probably somewhere else.

Reply via email to