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