1 |
2002-10-04 Rob Browning <rlb@defaultvalue.org> |
2002-10-04 Rob Browning <rlb@defaultvalue.org> |
2 |
|
|
|
* raw-ltdl.h: guile's modified version of the upstream ltdl.h. |
|
|
|
|
|
* raw-ltdl.c: guile's modified version of the upstream ltdl.c. |
|
|
|
|
|
* guile-ltdl.h: main header file for guile's internal |
|
|
libguile-ltdl. |
|
|
|
|
|
* guile-ltdl.c: main source file for libguile-ltdl -- #includes |
|
|
raw-ltdl.c and raw-ldtl.h directly. See README. |
|
|
|
|
3 |
* COPYING.LIB: moved from ../libltdl. |
* COPYING.LIB: moved from ../libltdl. |
4 |
|
|
5 |
* ChangeLog: moved from ../libltdl. |
* ChangeLog: moved from ../libltdl. |
14 |
|
|
15 |
* upstream/ltdl.h: upstream source. |
* upstream/ltdl.h: upstream source. |
16 |
|
|
17 |
* raw-ltdl.c: Remove custom realloc. (#define rpl_realloc |
* guile-ltdl.h: main header file for guile's internal |
18 |
realloc). You can't define realloc like this unless you also |
libguile-ltdl. |
19 |
define malloc. This is a quick hack for now; we may want |
|
20 |
something cleaner later. |
* guile-ltdl.c: main source file for libguile-ltdl -- #includes |
21 |
|
raw-ltdl.c and raw-ldtl.h directly. See README. |
22 |
|
|
23 |
|
* raw-ltdl.h: guile's modified version of the upstream ltdl.h. |
24 |
|
|
25 |
|
* raw-ltdl.c: guile's modified version of the upstream ltdl.c. |
26 |
(memcpy): coerce ptrs to (char *) before copying characters |
(memcpy): coerce ptrs to (char *) before copying characters |
27 |
through them -- I can't recall for sure, but I believe this was |
through them -- I can't recall for sure, but I believe this was |
28 |
causing an overrun error at times. |
causing an overrun error at times. |
29 |
(realloc): commented out -- as mentioned above, you can't define |
(realloc): Remove custom realloc. (#define rpl_realloc realloc) |
30 |
|
and comment out later code for custom realloc. You can't define |
31 |
your own malloc unless you know enough about the malloc in use to |
your own malloc unless you know enough about the malloc in use to |
32 |
be able to tell how big the src ptr is. The disabled code |
be able to tell how big the src ptr is. The disabled code |
33 |
incorrectly used the *destination* ptr to decide how much to copy. |
incorrectly used the *destination* ptr to decide how much to copy. |
34 |
This sometimes results in out-of-bound accesses which cause |
This sometimes results in out-of-bound accesses which cause |
35 |
segfaults. |
segfaults. This is a quick hack for now; we may want something |
36 |
|
cleaner later. |
37 |
(tryall_dlopen_module): check to be sure (dirname_len > 0) before |
(tryall_dlopen_module): check to be sure (dirname_len > 0) before |
38 |
testing first character against '/'. |
testing first character against '/'. |
39 |
(try_dlopen): check for feof(file) in read loop -- otherwise |
(try_dlopen): check for feof(file) in read loop -- otherwise |