1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 04:40:29 +02:00
Commit graph

26 commits

Author SHA1 Message Date
Gary Houston
026f9e6654 * upstream/Makefile.am (ltdl.h.diff, ltdl.c.diff): add $(srcdir)
in diff commands to first diff file.
2002-10-27 19:38:43 +00:00
Marius Vollmer
bf1fa0a5dd *** empty log message *** 2002-10-25 15:03:01 +00:00
Marius Vollmer
f5d6f0fcab * upstream/ltdl.c: New copy from libtool 1.4.3.
* raw-ltdl.c: Merged in changes from libtool 1.4.3.
2002-10-25 15:02:46 +00:00
Marius Vollmer
41f77ff505 *** empty log message *** 2002-10-11 13:07:43 +00:00
Marius Vollmer
7e2e61669b * upstream/Makefile.am (ltdl.h.diff, ltdl.c.diff): Look for
raw-ltdl.h and raw-ltdl.c in "$(srcdir)/..".  This is needed for
VPATH builds.
2002-10-11 13:07:14 +00:00
Marius Vollmer
0402b6e86e (INCLUDES): Also look for includes in "." and
"$(srcdir)".  This is needed for VPATH builds.
(EXTRA_DIST): Also distribute EXTRA_HEADERS.
2002-10-11 13:05:43 +00:00
Rob Browning
6ea383bbe8 * upstream/Makefile.am (ltdl.h.diff): remove
SCM_INSERTED_DLSYMLIST_STRUCT_DECL during diff computation.
(ltdl.c.diff): remove SCM_INSERTED_DLSYMLIST_STRUCT_DECL during
diff computation.
2002-10-09 21:16:31 +00:00
Rob Browning
c11a6400fa * raw-ltdl.h: add SCM_INSERTED_DLSYMLIST_STRUCT_DECL so we can
insert our own struct name here.
2002-10-09 21:16:24 +00:00
Rob Browning
a798ac8c42 * guile-ltdl.h: add scm_lt_dlsymlist typedef.
(scm_lt_dlpreload_default): new function.  Replaces
scm_lt_dlset_preloaded_symbols which depended on global that
libtool automagically defines in binaries, not libs.
2002-10-09 21:16:18 +00:00
Rob Browning
8b1da91cd5 * guile-ltdl.c (scm_lt_dlpreload_default): new function. Replaces
scm_lt_dlset_preloaded_symbols which depended on global that
libtool automagically defines in binaries, not libs.  Now the call
in guile.c has to pass us that magic value.
(SCM_INSERTED_DLSYMLIST_STRUCT_DECL): used to add a struct name in
the lt_dlsymlist typedef -- we use such a crazy name so we can
remove this in the upstream diff computation.
2002-10-09 21:16:12 +00:00
Rob Browning
76cf0fbd0a *** empty log message *** 2002-10-09 21:16:05 +00:00
Marius Vollmer
5e405a6055 *** empty log message *** 2002-10-05 11:57:41 +00:00
Marius Vollmer
d2d414843b (ltdl.h.diff, ltdl.c.diff): Create them in '.' not in 'upstream' since
we are already in upstream.
2002-10-05 11:55:56 +00:00
Rob Browning
aa5af3d1be * ChangeLog: moved from ../libltdl. 2002-10-05 04:54:50 +00:00
Rob Browning
cf736a072d * raw-ltdl.h: guile's modified version of the upstream ltdl.h. 2002-10-05 04:52:02 +00:00
Rob Browning
344d7170d7 * raw-ltdl.c: guile's modified version of the upstream ltdl.c.
* 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:55 +00:00
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
Rob Browning
c29fbdf231 * guile-ltdl.c: main source file for libguile-ltdl -- #includes
raw-ltdl.c and raw-ldtl.h directly.  See README.
2002-10-05 04:51:30 +00:00
Rob Browning
f64d164b1b * guile-ltdl.c: main source file for libguile-ltdl -- #includes
raw-ltdl.c and raw-ldtl.h directly.  See README.

* README: moved from ../libltdl.
2002-10-05 04:51:24 +00:00
Rob Browning
46229a272f * Makefile.am: build new libguile-ltdl.
* upstream/Makefile.am: new file.
2002-10-05 04:51:19 +00:00
Rob Browning
250aecfecf * ChangeLog: moved from ../libltdl. 2002-10-05 04:51:12 +00:00
Rob Browning
f4b028e3d8 * COPYING.LIB: moved from ../libltdl. 2002-10-05 04:51:06 +00:00
Rob Browning
b6b42411cf * upstream/ltdl.h: upstream source. 2002-10-05 04:46:57 +00:00
Rob Browning
d15601668c * upstream/ltdl.c: upstream source. 2002-10-05 04:46:51 +00:00
Rob Browning
a834f6d508 * upstream/Makefile.am: new file. 2002-10-05 04:46:44 +00:00
Rob Browning
7971b3b82d *** empty log message *** 2002-10-05 04:45:15 +00:00