#68014 libc6: obstack should use realloc if possible

Package:
libc6
Source:
glibc
Description:
GNU C Library: Shared libraries
Submitter:
Date:
2005-07-18 03:15:17 UTC
Severity:
wishlist
#68014#5
Date:
2000-07-31 12:25:13 UTC
From:
To:
When dealing with very large strings, it is preferable to use realloc rather
than malloc+copy+free every time, especially on Linux where realloc
eventually becomes mremap(2).

Unfortunately this requires changing the interface of obstack, but IMHO
it needs to be done.