Bruno Haible wrote: > Here's the proposed patch for doing the same with 'areadlink'. > > Jim, this is limited to the modules included by the 'relocwrapper' program. > I have no intent to avoid the 'malloc-posix' and 'realloc-posix' modules in > general. OK to apply?
That is ugly, indeed. But it seems necessary, so OK. Thanks. > 2010-06-09 Bruno Haible <br...@clisp.org> > > Avoid relocwrapper link errors due to gnulib replacement functions. > * lib/areadlink.c: Use the system's malloc, realloc functions. > (areadlink): Set errno to ENOMEM explicitly. > * modules/areadlink (Depends-on): Remove malloc-posix. > Reported by Ben Pfaff <b...@cs.stanford.edu>.