1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 16:00:22 +02:00
guile/libguile-ltdl
Rob Browning ac7cc4628d * guile-ltdl.h: main header file for guile's internal
libguile-ltdl.

* raw-ltdl.c: Remove custom realloc. (#define rpl_realloc
realloc).  You can't define realloc like this unless you also
define malloc.  This is a quick hack for now; we may want
something cleaner later.
(memcpy): coerce ptrs to (char *) before copying characters
through them -- I can't recall for sure, but I believe this was
causing an overrun error at times.
(realloc): commented out -- as mentioned above, you can't define
your own malloc unless you know enough about the malloc in use to
be able to tell how big the src ptr is.  The disabled code
incorrectly used the *destination* ptr to decide how much to copy.
This sometimes results in out-of-bound accesses which cause
segfaults.
(tryall_dlopen_module): check to be sure (dirname_len > 0) before
testing first character against '/'.
(try_dlopen): check for feof(file) in read loop -- otherwise
infloop?
(scm_lt_dlopenext): remove unused variable file_found.
(LT_EOS_CHAR): moved here from guile-ltdl.h.
2002-10-05 04:51:36 +00:00
..
upstream * upstream/ltdl.h: upstream source. 2002-10-05 04:46:57 +00:00
.cvsignore *** empty log message *** 2002-10-05 04:45:15 +00:00
ChangeLog * ChangeLog: moved from ../libltdl. 2002-10-05 04:51:12 +00:00
COPYING.LIB * COPYING.LIB: moved from ../libltdl. 2002-10-05 04:51:06 +00:00
guile-ltdl.c * guile-ltdl.c: main source file for libguile-ltdl -- #includes 2002-10-05 04:51:30 +00:00
guile-ltdl.h * guile-ltdl.h: main header file for guile's internal 2002-10-05 04:51:36 +00:00
Makefile.am * Makefile.am: build new libguile-ltdl. 2002-10-05 04:51:19 +00:00
README * guile-ltdl.c: main source file for libguile-ltdl -- #includes 2002-10-05 04:51:24 +00:00