*** empty log message ***
[bpt/guile.git] / libguile-ltdl / ChangeLog
1 2002-10-09 Rob Browning <rlb@defaultvalue.org>
2
3 * upstream/Makefile.am (ltdl.h.diff): remove
4 SCM_INSERTED_DLSYMLIST_STRUCT_DECL during diff computation.
5 (ltdl.c.diff): remove SCM_INSERTED_DLSYMLIST_STRUCT_DECL during
6 diff computation.
7
8 * raw-ltdl.h: add SCM_INSERTED_DLSYMLIST_STRUCT_DECL so we can
9 insert our own struct name here.
10
11 * guile-ltdl.h: add scm_lt_dlsymlist typedef.
12 (scm_lt_dlpreload_default): new function. Replaces
13 scm_lt_dlset_preloaded_symbols which depended on global that
14 libtool automagically defines in binaries, not libs.
15
16 * guile-ltdl.c (scm_lt_dlpreload_default): new function. Replaces
17 scm_lt_dlset_preloaded_symbols which depended on global that
18 libtool automagically defines in binaries, not libs. Now the call
19 in guile.c has to pass us that magic value.
20 (SCM_INSERTED_DLSYMLIST_STRUCT_DECL): used to add a struct name in
21 the lt_dlsymlist typedef -- we use such a crazy name so we can
22 remove this in the upstream diff computation.
23
24 2002-10-05 Marius Vollmer <mvo@zagadka.ping.de>
25
26 * upstream/Makefile.am (ltdl.h.diff, ltdl.c.diff): Create them in
27 '.' not in 'upstream' since we are already in upstream.
28
29 2002-10-04 Rob Browning <rlb@defaultvalue.org>
30
31 * COPYING.LIB: moved from ../libltdl.
32
33 * ChangeLog: moved from ../libltdl.
34
35 * README: moved from ../libltdl.
36
37 * Makefile.am: build new libguile-ltdl.
38
39 * upstream/Makefile.am: new file.
40
41 * upstream/ltdl.c: upstream source.
42
43 * upstream/ltdl.h: upstream source.
44
45 * guile-ltdl.h: main header file for guile's internal
46 libguile-ltdl.
47
48 * guile-ltdl.c: main source file for libguile-ltdl -- #includes
49 raw-ltdl.c and raw-ldtl.h directly. See README.
50
51 * raw-ltdl.h: guile's modified version of the upstream ltdl.h.
52
53 * raw-ltdl.c: guile's modified version of the upstream ltdl.c.
54 (memcpy): coerce ptrs to (char *) before copying characters
55 through them -- I can't recall for sure, but I believe this was
56 causing an overrun error at times.
57 (realloc): Remove custom realloc. (#define rpl_realloc realloc)
58 and comment out later code for custom realloc. You can't define
59 your own malloc unless you know enough about the malloc in use to
60 be able to tell how big the src ptr is. The disabled code
61 incorrectly used the *destination* ptr to decide how much to copy.
62 This sometimes results in out-of-bound accesses which cause
63 segfaults. This is a quick hack for now; we may want something
64 cleaner later.
65 (tryall_dlopen_module): check to be sure (dirname_len > 0) before
66 testing first character against '/'.
67 (try_dlopen): check for feof(file) in read loop -- otherwise
68 infloop?
69 (scm_lt_dlopenext): remove unused variable file_found.
70 (LT_EOS_CHAR): moved here from guile-ltdl.h.
71
72 2002-10-04 Marius Vollmer <mvo@zagadka.ping.de>
73
74 * raw-ltdl.c: Renamed all exported functions and variables to have a
75 "scm_lt_" prefix.
76 (try_dlopen): Set newhandle to null when try_all_dlopen failed.
77 (scm_lt_dlopenext): Reverse test of "file_not_found()".
78 Previously, we would stop searching when the file wasn't found
79 yet, while we should continue in that case.