]> git.ipfire.org Git - thirdparty/libtool.git/commit
Much as we have tried not to make it the callers' responsibility
authorJim Pick <jim@kaffe.org>
Tue, 5 Aug 2003 16:05:01 +0000 (16:05 +0000)
committerGary V. Vaughan <gary@gnu.org>
Tue, 5 Aug 2003 16:05:01 +0000 (16:05 +0000)
commit522aef6a38cf39bfa39690ccc063f5fa098685a6
tree0d594a2367d987cfd1fefa6b5ad41b9c08236ad6
parent9bfa9cf6b9554aec8374e19eb143d35efdcf3c32
Much as we have tried not to make it the callers' responsibility
to maintain an lt_dlrealloc function pointer, it is too difficult
to implement realloc as malloc/memcpy/free without knowing the
size of the original block.  rpl_realloc has been deprecated since
2002-10-30, but kaffe has real failures with that so it's time to
bite the bullet.  Caller gets to maintain lt_dlrealloc:

* NEWS (1.5.1): Updated.
* libltdl/ltdl.c (LT_DLREALLOC): Use lt_dlrealloc so the user can
update the function pointer to match lt_dlmalloc.
(lt_emalloc): Use lt_dlrealloc rather than hardcoding realloc.
* doc/libtool.texi (Libltdl interface): Describe lt_dlrealloc now
that it too has become part of the exported interface to libltdl.
ChangeLog
NEWS
doc/libtool.texi
libltdl/ltdl.c