On 4/10/21 3:22 PM, Bruno Haible wrote:
The patch above has the effect that libunistring.so will now export
'realloc'. Which is not right.

OK, but why doesn't a similar problem happen with malloc and calloc? lib/malloc.c has "#undef malloc", and similarly for lib/calloc.c.

I doubt there are many packages that still use AC_FUNC_REALLOC the
"old" way, without gnulib. (Maybe gawk still does?)

No, Gawk doesn't use AC_FUNC_REALLOC or Gnulib lib/realloc.c. Similarly for calloc and malloc.

Perhaps we should simply remove the "#ifdef malloc" section from lib/malloc.c, and similar for calloc and realloc.

Reply via email to