1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-07-16 22:20:21 +02:00
guile/libguile-ltdl/ChangeLog
Stefan Jahn 2e945bccca 2003-05-29 Stefan Jahn <stefan@lkcc.org>
* configure.in: Removed -lm check and added a cached check for
        __libc_stack_end to get it building for mingw32 hosts.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * win32-dirent.c: Use malloc() instead of scm_malloc().

        * stime.c (s_scm_strftime): Add a type cast to avoid compiler
        warning.

        * posix.c (s_scm_putenv): Disable use of unsetenv() for the
        mingw32 build.

        * modules.c (s_scm_module_import_interface): Renamed local
        variable interface to _interface.  Seems like 'interface'
        is a special compiler directive for the mingw32 compiler.

        * mkstemp.c: Provide prototype to avoid compiler warning.

        * load.c (s_scm_search_path): Fixed absolute and relative
        path detections for native Windows platforms.

        * gc.h, threads.h: Export some more symbols using SCM_API
	(necessary to build on mingw32).

        * gc-freelist.c ("s_scm_map_free_list",
        "s_scm_gc_set_debug_check_freelist_x"): Fixed use of FUNC_NAME.

        * fports.c (fport_fill_input): Disable use of
        fport_wait_for_input() on Win32 platforms.

        * filesys.c (s_scm_basename): Fixed __MINGW32__ code.

        * Makefile.am: Modified some rules for cross compiling.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * raw-ltdl.c: Some more modifications for mingw32 platforms.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * Makefile.am (libguile_srfi_srfi_1_la_LDFLAGS,
        libguile_srfi_srfi_4_la_LDFLAGS,
        libguile_srfi_srfi_13_14__la_LDFLAGS): Added the -no-undefined
        option for the mingw32 build.

2003-05-29  Stefan Jahn  <stefan@lkcc.org>

        * standalone/Makefile.am: Setup to build on mingw32.
2003-05-29 14:39:13 +00:00

108 lines
3.9 KiB
Text

2003-05-29 Stefan Jahn <stefan@lkcc.org>
* raw-ltdl.c: Some more modifications for mingw32 platforms.
2003-03-24 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* raw-ltdl.c: Include <config.h> instead of
<libguile/scmconfig.h>.
2002-10-27 Gary Houston <ghouston@arglist.com>
* upstream/Makefile.am (ltdl.h.diff, ltdl.c.diff): add $(srcdir)
first file in diff commands.
2002-10-25 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* upstream/ltdl.c: New copy from libtool 1.4.3.
* raw-ltdl.c: Merged in changes from libtool 1.4.3.
2002-10-11 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* 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.
* Makefile.am (INCLUDES): Also look for includes in "." and
"$(srcdir)". This is needed for VPATH builds.
(EXTRA_DIST): Also distribute EXTRA_HEADERS.
2002-10-09 Rob Browning <rlb@defaultvalue.org>
* 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.
* raw-ltdl.h: add SCM_INSERTED_DLSYMLIST_STRUCT_DECL so we can
insert our own struct name here.
* 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.
* 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-05 Marius Vollmer <mvo@zagadka.ping.de>
* upstream/Makefile.am (ltdl.h.diff, ltdl.c.diff): Create them in
'.' not in 'upstream' since we are already in upstream.
2002-10-04 Rob Browning <rlb@defaultvalue.org>
* COPYING.LIB: moved from ../libltdl.
* ChangeLog: moved from ../libltdl.
* README: moved from ../libltdl.
* Makefile.am: build new libguile-ltdl.
* upstream/Makefile.am: new file.
* upstream/ltdl.c: upstream source.
* upstream/ltdl.h: upstream source.
* 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.
* raw-ltdl.h: guile's modified version of the upstream ltdl.h.
* raw-ltdl.c: guile's modified version of the upstream ltdl.c.
(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): Remove custom realloc. (#define rpl_realloc realloc)
and comment out later code for custom realloc. 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. This is a quick hack for now; we may want something
cleaner later.
(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-04 Marius Vollmer <mvo@zagadka.ping.de>
* raw-ltdl.c: Renamed all exported functions and variables to have a
"scm_lt_" prefix.
(try_dlopen): Set newhandle to null when try_all_dlopen failed.
(scm_lt_dlopenext): Reverse test of "file_not_found()".
Previously, we would stop searching when the file wasn't found
yet, while we should continue in that case.