Commit | Line | Data |
---|---|---|
00346119 MV |
1 | 2003-03-24 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
2 | ||
3 | * raw-ltdl.c: Include <config.h> instead of | |
4 | <libguile/scmconfig.h>. | |
5 | ||
026f9e66 GH |
6 | 2002-10-27 Gary Houston <ghouston@arglist.com> |
7 | ||
8 | * upstream/Makefile.am (ltdl.h.diff, ltdl.c.diff): add $(srcdir) | |
9 | first file in diff commands. | |
10 | ||
bf1fa0a5 MV |
11 | 2002-10-25 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
12 | ||
13 | * upstream/ltdl.c: New copy from libtool 1.4.3. | |
14 | * raw-ltdl.c: Merged in changes from libtool 1.4.3. | |
15 | ||
41f77ff5 MV |
16 | 2002-10-11 Marius Vollmer <marius.vollmer@uni-dortmund.de> |
17 | ||
18 | * upstream/Makefile.am (ltdl.h.diff, ltdl.c.diff): Look for | |
19 | raw-ltdl.h and raw-ltdl.c in "$(srcdir)/..". This is needed for | |
20 | VPATH builds. | |
21 | ||
22 | * Makefile.am (INCLUDES): Also look for includes in "." and | |
23 | "$(srcdir)". This is needed for VPATH builds. | |
24 | (EXTRA_DIST): Also distribute EXTRA_HEADERS. | |
25 | ||
76cf0fbd RB |
26 | 2002-10-09 Rob Browning <rlb@defaultvalue.org> |
27 | ||
28 | * upstream/Makefile.am (ltdl.h.diff): remove | |
29 | SCM_INSERTED_DLSYMLIST_STRUCT_DECL during diff computation. | |
30 | (ltdl.c.diff): remove SCM_INSERTED_DLSYMLIST_STRUCT_DECL during | |
31 | diff computation. | |
32 | ||
33 | * raw-ltdl.h: add SCM_INSERTED_DLSYMLIST_STRUCT_DECL so we can | |
34 | insert our own struct name here. | |
35 | ||
36 | * guile-ltdl.h: add scm_lt_dlsymlist typedef. | |
37 | (scm_lt_dlpreload_default): new function. Replaces | |
38 | scm_lt_dlset_preloaded_symbols which depended on global that | |
39 | libtool automagically defines in binaries, not libs. | |
40 | ||
41 | * guile-ltdl.c (scm_lt_dlpreload_default): new function. Replaces | |
42 | scm_lt_dlset_preloaded_symbols which depended on global that | |
43 | libtool automagically defines in binaries, not libs. Now the call | |
44 | in guile.c has to pass us that magic value. | |
45 | (SCM_INSERTED_DLSYMLIST_STRUCT_DECL): used to add a struct name in | |
46 | the lt_dlsymlist typedef -- we use such a crazy name so we can | |
47 | remove this in the upstream diff computation. | |
48 | ||
5e405a60 MV |
49 | 2002-10-05 Marius Vollmer <mvo@zagadka.ping.de> |
50 | ||
51 | * upstream/Makefile.am (ltdl.h.diff, ltdl.c.diff): Create them in | |
52 | '.' not in 'upstream' since we are already in upstream. | |
53 | ||
250aecfe RB |
54 | 2002-10-04 Rob Browning <rlb@defaultvalue.org> |
55 | ||
250aecfe RB |
56 | * COPYING.LIB: moved from ../libltdl. |
57 | ||
58 | * ChangeLog: moved from ../libltdl. | |
59 | ||
60 | * README: moved from ../libltdl. | |
61 | ||
62 | * Makefile.am: build new libguile-ltdl. | |
63 | ||
64 | * upstream/Makefile.am: new file. | |
65 | ||
66 | * upstream/ltdl.c: upstream source. | |
67 | ||
68 | * upstream/ltdl.h: upstream source. | |
69 | ||
aa5af3d1 RB |
70 | * guile-ltdl.h: main header file for guile's internal |
71 | libguile-ltdl. | |
72 | ||
73 | * guile-ltdl.c: main source file for libguile-ltdl -- #includes | |
74 | raw-ltdl.c and raw-ldtl.h directly. See README. | |
75 | ||
76 | * raw-ltdl.h: guile's modified version of the upstream ltdl.h. | |
77 | ||
78 | * raw-ltdl.c: guile's modified version of the upstream ltdl.c. | |
250aecfe RB |
79 | (memcpy): coerce ptrs to (char *) before copying characters |
80 | through them -- I can't recall for sure, but I believe this was | |
81 | causing an overrun error at times. | |
aa5af3d1 RB |
82 | (realloc): Remove custom realloc. (#define rpl_realloc realloc) |
83 | and comment out later code for custom realloc. You can't define | |
250aecfe RB |
84 | your own malloc unless you know enough about the malloc in use to |
85 | be able to tell how big the src ptr is. The disabled code | |
86 | incorrectly used the *destination* ptr to decide how much to copy. | |
87 | This sometimes results in out-of-bound accesses which cause | |
aa5af3d1 RB |
88 | segfaults. This is a quick hack for now; we may want something |
89 | cleaner later. | |
250aecfe RB |
90 | (tryall_dlopen_module): check to be sure (dirname_len > 0) before |
91 | testing first character against '/'. | |
92 | (try_dlopen): check for feof(file) in read loop -- otherwise | |
93 | infloop? | |
94 | (scm_lt_dlopenext): remove unused variable file_found. | |
95 | (LT_EOS_CHAR): moved here from guile-ltdl.h. | |
96 | ||
97 | 2002-10-04 Marius Vollmer <mvo@zagadka.ping.de> | |
98 | ||
99 | * raw-ltdl.c: Renamed all exported functions and variables to have a | |
100 | "scm_lt_" prefix. | |
101 | (try_dlopen): Set newhandle to null when try_all_dlopen failed. | |
102 | (scm_lt_dlopenext): Reverse test of "file_not_found()". | |
103 | Previously, we would stop searching when the file wasn't found | |
104 | yet, while we should continue in that case. |