address@hidden (Albert Chin-A-Young) writes:
> $ echo abc | ./tr '' '[.*]'; echo $?
> ./tr: memory exhausted
> 1
What are the values of HAVE_MALLOC, malloc, HAVE_DECL_MALLOC, and
MALLOC_0_IS_NONNULL in config.h? My understanding is that on Tru64
malloc(0) returns NULL, but perhaps "configure" deduced this
incorrectly; that would explain the problem.
Also, can you please get a stack backtrace for that failure? You
should be able to plant a breakpoint on the 'error' function and
backtrace from there. This will help narrow things down.
Thanks.