1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 20:00:19 +02:00
Commit graph

33 commits

Author SHA1 Message Date
Marius Vollmer
92205699d0 The FSF has a new address. 2005-05-23 19:57:22 +00:00
Marius Vollmer
5ae1bd9109 New versions of the GPLand LGPL with the new address of the FSF. 2005-05-23 19:00:08 +00:00
Marius Vollmer
51fab002a8 *** empty log message *** 2004-08-26 15:16:21 +00:00
Marius Vollmer
6fcf60d3d5 Bumped version number of libguile-ltdl to 2. 2004-08-26 15:10:24 +00:00
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
Marius Vollmer
0034611927 *** empty log message *** 2003-03-24 16:48:55 +00:00
Marius Vollmer
5b9d7b98b9 Include <config.h> instead of <libguile/scmconfig.h>. 2003-03-24 16:48:39 +00:00
Gary Houston
026f9e6654 * upstream/Makefile.am (ltdl.h.diff, ltdl.c.diff): add $(srcdir)
in diff commands to first diff file.
2002-10-27 19:38:43 +00:00
Marius Vollmer
bf1fa0a5dd *** empty log message *** 2002-10-25 15:03:01 +00:00
Marius Vollmer
f5d6f0fcab * upstream/ltdl.c: New copy from libtool 1.4.3.
* raw-ltdl.c: Merged in changes from libtool 1.4.3.
2002-10-25 15:02:46 +00:00
Marius Vollmer
41f77ff505 *** empty log message *** 2002-10-11 13:07:43 +00:00
Marius Vollmer
7e2e61669b * 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.
2002-10-11 13:07:14 +00:00
Marius Vollmer
0402b6e86e (INCLUDES): Also look for includes in "." and
"$(srcdir)".  This is needed for VPATH builds.
(EXTRA_DIST): Also distribute EXTRA_HEADERS.
2002-10-11 13:05:43 +00:00
Rob Browning
6ea383bbe8 * 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.
2002-10-09 21:16:31 +00:00
Rob Browning
c11a6400fa * raw-ltdl.h: add SCM_INSERTED_DLSYMLIST_STRUCT_DECL so we can
insert our own struct name here.
2002-10-09 21:16:24 +00:00
Rob Browning
a798ac8c42 * 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.
2002-10-09 21:16:18 +00:00
Rob Browning
8b1da91cd5 * 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-09 21:16:12 +00:00
Rob Browning
76cf0fbd0a *** empty log message *** 2002-10-09 21:16:05 +00:00
Marius Vollmer
5e405a6055 *** empty log message *** 2002-10-05 11:57:41 +00:00
Marius Vollmer
d2d414843b (ltdl.h.diff, ltdl.c.diff): Create them in '.' not in 'upstream' since
we are already in upstream.
2002-10-05 11:55:56 +00:00
Rob Browning
aa5af3d1be * ChangeLog: moved from ../libltdl. 2002-10-05 04:54:50 +00:00
Rob Browning
cf736a072d * raw-ltdl.h: guile's modified version of the upstream ltdl.h. 2002-10-05 04:52:02 +00:00
Rob Browning
344d7170d7 * raw-ltdl.c: guile's modified version of the upstream ltdl.c.
* raw-ltdl.c: Remove custom realloc. (#define rpl_realloc
realloc).  You can't define realloc like this unless you also
define malloc.  This is a quick hack for now; we may want
something cleaner later.
(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): commented out -- as mentioned above, 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.
(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-05 04:51:55 +00:00
Rob Browning
ac7cc4628d * guile-ltdl.h: main header file for guile's internal
libguile-ltdl.

* raw-ltdl.c: Remove custom realloc. (#define rpl_realloc
realloc).  You can't define realloc like this unless you also
define malloc.  This is a quick hack for now; we may want
something cleaner later.
(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): commented out -- as mentioned above, 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.
(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-05 04:51:36 +00:00
Rob Browning
c29fbdf231 * guile-ltdl.c: main source file for libguile-ltdl -- #includes
raw-ltdl.c and raw-ldtl.h directly.  See README.
2002-10-05 04:51:30 +00:00
Rob Browning
f64d164b1b * guile-ltdl.c: main source file for libguile-ltdl -- #includes
raw-ltdl.c and raw-ldtl.h directly.  See README.

* README: moved from ../libltdl.
2002-10-05 04:51:24 +00:00
Rob Browning
46229a272f * Makefile.am: build new libguile-ltdl.
* upstream/Makefile.am: new file.
2002-10-05 04:51:19 +00:00
Rob Browning
250aecfecf * ChangeLog: moved from ../libltdl. 2002-10-05 04:51:12 +00:00
Rob Browning
f4b028e3d8 * COPYING.LIB: moved from ../libltdl. 2002-10-05 04:51:06 +00:00
Rob Browning
b6b42411cf * upstream/ltdl.h: upstream source. 2002-10-05 04:46:57 +00:00
Rob Browning
d15601668c * upstream/ltdl.c: upstream source. 2002-10-05 04:46:51 +00:00
Rob Browning
a834f6d508 * upstream/Makefile.am: new file. 2002-10-05 04:46:44 +00:00
Rob Browning
7971b3b82d *** empty log message *** 2002-10-05 04:45:15 +00:00