2010-03-17 15:54:16 +08:00
|
|
|
2010-03-17 Peter Rosin <peda@lysator.liu.se>
|
|
|
|
|
2010-03-17 16:01:57 +08:00
|
|
|
Preserve the last error when restoring the error mode.
|
|
|
|
* libltdl/loaders/loadlibrary.c (wm_open): Don't rely on
|
|
|
|
SetThreadErrorMode (or SetErrorMode) to not clobber the last
|
|
|
|
error.
|
|
|
|
Report by Ralf Wildenhues.
|
|
|
|
|
2010-03-17 15:54:16 +08:00
|
|
|
Use Get/SetThreadErrorMode if they are available.
|
|
|
|
* libltdl/loaders/loadlibrary.c (wrap_geterrormode): Replaced...
|
|
|
|
(wrap_getthreaderrormode): ...by this function that checks
|
|
|
|
first for GetThreadErrorMode, then GetErrorMode and makes use
|
|
|
|
of either of those or...
|
|
|
|
(fallback_getthreaderrormode): ...else falls back to this
|
|
|
|
replacement function that implements the old workaround, which
|
|
|
|
was previously implemented in...
|
|
|
|
(fallback_geterrormode): ...this now renamed function.
|
|
|
|
(geterrormode): Replaced...
|
|
|
|
(getthreaderrormode): ...by this function pointer that points
|
|
|
|
at either of wrap_getthreaderrormode, GetThreadErrorMode,
|
|
|
|
GetErrorMode or fallback_getthreaderrormode.
|
|
|
|
(wrap_setthreaderrormode): New function that checks if
|
|
|
|
SetThreadErrorMode is supported by the system and makes use of
|
|
|
|
it if it is.
|
|
|
|
(fallback_setthreaderrormode): New function that is used
|
|
|
|
otherwise that implements the old version using SetErrorMode.
|
|
|
|
(setthreaderrormode): New function pointer that points at
|
|
|
|
either of wrap_setthreaderrormode, SetThreadErrorMode or
|
|
|
|
fallback_setthreaderrormode.
|
|
|
|
(vm_open): Adjust to the above.
|
|
|
|
|
2010-02-28 20:38:34 +08:00
|
|
|
2010-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
Detect Sun compiler suite with 'sun'-prefixed names.
|
|
|
|
* libltdl/m4/libtool.m4 (_LT_COMPILER_PIC, _LT_LANG_CXX_CONFIG)
|
|
|
|
(_LT_SYS_HIDDEN_LIBDEPS) [solaris]: Accept compiler names sunCC,
|
|
|
|
sunf77, sunf90, sunf95 in addition to CC, f77, f90, f95.
|
|
|
|
* NEWS: Update.
|
|
|
|
Report by Vadim Zeitlin.
|
|
|
|
|
2010-02-23 05:44:04 +08:00
|
|
|
2010-02-28 Pierre Ossman <ossman@ossman.lkpg.cendio.se> (tiny change)
|
|
|
|
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
Fix deplibs check fallback for 64-bit Windows and Windows CE.
|
|
|
|
* libltdl/m4/libtool.m4 (_LT_CHECK_MAGIC_METHOD): Accept file formats
|
|
|
|
'pe-arm-wince' and 'pe-x86-64'. Add note about consistency with ...
|
|
|
|
* libltdl/config/ltmain.m4sh (func_win32_libid): ... the respective
|
|
|
|
pattern here; sync pattern from the former.
|
|
|
|
* tests/deplibs-mingw.at (deplibs without file command): New
|
|
|
|
file, new test.
|
|
|
|
* Makefile.am (TESTSUITE_AT): Update.
|
|
|
|
* NEWS: Update.
|
|
|
|
|
2010-02-25 05:10:52 +08:00
|
|
|
2010-02-24 Scott McCreary <scottmc2@gmail.com> (tiny change)
|
|
|
|
|
|
|
|
Update search path on Haiku for legacy system directory.
|
|
|
|
* libltdl/m4/libtool.m4 (_LT_SYS_DYNAMIC_LINKER) [haiku]
|
|
|
|
<sys_lib_dlsearch_path_spec>: Replace legacy
|
|
|
|
/boot/beos/system/lib directory with /boot/system/lib.
|
|
|
|
* THANKS: Update.
|
|
|
|
|
2010-02-23 05:05:14 +08:00
|
|
|
2010-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
manual: fix detailmenu ordering.
|
|
|
|
* doc/libtool.texi (Top): Add section for `Linking executables'
|
|
|
|
in the detailmenu.
|
|
|
|
|
2010-02-22 05:56:44 +08:00
|
|
|
2010-02-21 Charles Wilson <libtool@cwilson.fastmail.fm>
|
|
|
|
|
|
|
|
Guard against strerror()==NULL
|
|
|
|
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src:main):
|
|
|
|
Check return value of strerror() using nonnull().
|
|
|
|
(func_emit_cwrapperexe_src:find_executable): Ditto.
|
|
|
|
(func_emit_cwrapperexe_src:chase_symlinks): Ditto.
|
|
|
|
|
2009-07-13 06:49:06 +08:00
|
|
|
2010-02-21 Charles Wilson <libtool@cwilson.fastmail.fm>
|
|
|
|
|
|
|
|
Document wrapper changes.
|
|
|
|
* NEWS: Indicate new feature and incompatibility.
|
|
|
|
* doc/libtool.texi [detailmenu]: Add reference to subsection
|
|
|
|
'Wrapper executables for programs', in Platform Quirks category.
|
|
|
|
[Linking executables]: Mention wrapper executables, in
|
|
|
|
addition to wrapper scripts. Add menu referencing subsection
|
|
|
|
'Wrapper executables for programs'.
|
|
|
|
[Wrapper executables for programs]: New subsection. Documents
|
|
|
|
cwrapper rationale and command line options.
|
|
|
|
|
2009-07-13 05:40:26 +08:00
|
|
|
2010-02-21 Charles Wilson <libtool@cwilson.fastmail.fm>
|
|
|
|
|
|
|
|
Add --lt-* options to shell wrapper
|
|
|
|
* libltdl/config/ltmain.m4sh (func_emit_wrapper): Call
|
|
|
|
func_parse_lt_options early. Use func_exec_program.
|
|
|
|
(func_emit_wrapper:func_parse_lt_options): New function.
|
|
|
|
(func_emit_wrapper:func_lt_dump_args): New function.
|
|
|
|
(func_emit_wrapper:func_exec_program_core): New function.
|
|
|
|
(func_emit_wrapper:func_exec_program): New function.
|
|
|
|
|
2009-07-13 02:30:44 +08:00
|
|
|
2010-02-21 Charles Wilson <libtool@cwilson.fastmail.fm>
|
|
|
|
|
|
|
|
Enable runtime cwrapper debugging; add tests
|
|
|
|
* libltdl/config/ltmain.m4sh (func_emit_cwrapperexe_src):
|
|
|
|
Update comments. Initialize program_name. Eliminate _LENGTH
|
|
|
|
variables for string constants. In debug mode, print a
|
|
|
|
banner with known content before any other output. Remove
|
|
|
|
LTWRAPPER_DEBUGPRINTF macro. Add constants and variables
|
|
|
|
to support new --lt-debug option.
|
|
|
|
(func_emit_cwrapperexe_src:ltwrapper_debugprintf): Renamed to...
|
|
|
|
(func_emit_cwrapperexe_src:lt_debugprintf): this. Only print
|
|
|
|
messages if lt_debug != 0. Ensure appearance of messages
|
|
|
|
conforms to GCS.
|
|
|
|
(func_emit_cwrapperexe_src:lt_fatal): Ditto.
|
|
|
|
(func_emit_cwrapperexe_src:lt_error_core): Ditto.
|
|
|
|
(func_emit_cwrapperexe_src): Update all callers to lt_fatal.
|
|
|
|
Update all users of LTWRAPPER_DEBUGPRINTF (()) to call
|
|
|
|
lt_debugprintf () directly.
|
|
|
|
(func_emit_cwrapperexe_src:main): Consolidate option parsing.
|
|
|
|
Ensure first use of lt_debugprintf occurs after option parsing.
|
|
|
|
Add stanza to parse for --lt-debug and set lt_debug variable.
|
|
|
|
Use strcmp rather than strncmp, where safe.
|
|
|
|
* tests/cwrapper.at: Add new tests for --lt-debug and
|
|
|
|
-DLT_DEBUGWRAPPER.
|
|
|
|
|
2010-01-31 22:31:52 +08:00
|
|
|
2010-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
2010-01-31 20:39:48 +08:00
|
|
|
Use --email with gendocs.sh.
|
|
|
|
* Makefile.maint (web-manual): Pass bug reporting address to
|
|
|
|
gendocs.sh.
|
|
|
|
|
2010-01-31 22:31:52 +08:00
|
|
|
Make testsuite code C++ clean again.
|
|
|
|
* tests/resident.at (resident modules): Fix for C++.
|
|
|
|
|
2010-01-29 16:04:13 +08:00
|
|
|
2010-01-29 Peter Rosin <peda@lysator.liu.se>
|
|
|
|
Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
|
|
|
Testsuite exposure for dlloader API.
|
|
|
|
* tests/dlloader-api.at: New file, new test.
|
|
|
|
* Makefile.am (TESTSUITE_AT): Update.
|
|
|
|
|
2010-01-29 15:49:45 +08:00
|
|
|
2010-01-29 Peter Rosin <peda@lysator.liu.se>
|
|
|
|
|
|
|
|
* tests/loadlibrary.at: Fix C++ issues.
|
|
|
|
|
2010-01-21 15:42:12 +08:00
|
|
|
2010-01-20 Peter Rosin <peda@lysator.liu.se>
|
|
|
|
|
|
|
|
Report proper errors from the loadlibrary loader.
|
|
|
|
* libltdl/loaders/loadlibrary.c (loadlibraryerror): New
|
|
|
|
helper function that returns the latest Windows error as a
|
|
|
|
string, or the provided default string on failure to do so.
|
|
|
|
(LOADLIB_SETERROR): New macro that wraps previous to make it
|
|
|
|
easy to use.
|
|
|
|
(vm_open, vm_close, vm_sym): Make use of previous.
|
|
|
|
(LOCALFREE): New macro to help free the Windows error string.
|
|
|
|
(vl_exit): Make use of previous.
|
|
|
|
* tests/loadlibarry.at: New file, new test that makes sure
|
|
|
|
the loadlibrary loader reports non-standard error messages.
|
|
|
|
* Makefile.am (TESTSUITE_AT): Add above test.
|
|
|
|
|
2010-01-18 16:48:23 +08:00
|
|
|
2010-01-02 Peter Rosin <peda@lysator.liu.se>
|
|
|
|
|
|
|
|
Use GetErrorMode if it is available.
|
|
|
|
* libltdl/loaders/loadlibrary.c (wrap_geterrormode): New
|
|
|
|
function that checks if GetErrorMode is supported by the
|
|
|
|
system and makes use of it if it is.
|
|
|
|
(fallback_geterrormode): New function that is used otherwise
|
|
|
|
that implements the old workaround.
|
|
|
|
(geterrormode): New function pointer that points at either
|
|
|
|
of the above or directly at GetErrorMode.
|
|
|
|
(vm_open): Make use of the above.
|
|
|
|
|
2010-01-12 04:45:58 +08:00
|
|
|
2010-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
|
2010-01-12 04:56:23 +08:00
|
|
|
Ensure functions from resident modules work in atexit handlers.
|
|
|
|
* tests/resident.at (resident modules): New file, new test.
|
|
|
|
* Makefile.am (TESTSUITE_AT): Adjust.
|
|
|
|
Report by Bob Friesenhahn.
|
|
|
|
|
2010-01-12 04:45:58 +08:00
|
|
|
Testsuite exposure for relative output file names and deplibs.
|
|
|
|
* tests/deplib-in-subdir.at (deplib in subdir): New file, new
|
|
|
|
test.
|
|
|
|
* Makefile.am (TESTSUITE_AT): Update.
|
|
|
|
Prompted by report from Bob Friesenhahn.
|
|
|
|
|
2010-01-10 16:06:57 +08:00
|
|
|
2010-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
|
|
|
Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
|
|
|
|
|
|
|
|
Testsuite exposure for C++ exception handling.
|
|
|
|
* tests/exceptions.at (C++ exception handling): New file, new
|
|
|
|
test.
|
|
|
|
* Makefile.am (TESTSUITE_AT): Update.
|
|
|
|
Report by Bob Friesenhahn.
|
|
|
|
|
2010-01-06 15:03:33 +08:00
|
|
|
2010-01-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
|
2009-01-20 04:31:43 +08:00
|
|
|
|
|
|
|
Bump copyright years.
|
2010-01-06 15:03:33 +08:00
|
|
|
* ChangeLog.2009: New, rotated from ...
|
2009-01-20 04:31:43 +08:00
|
|
|
* ChangeLog: ... here.
|
2010-01-06 15:03:33 +08:00
|
|
|
* Makefile.am (EXTRA_DIST): Add ChangeLog.2009.
|
2009-01-20 04:31:43 +08:00
|
|
|
* NEWS, libltdl/config/ltmain.m4sh: Bump copyright years.
|
|
|
|
* libltdl/m4/libtool.m4 (_LT_COPYING, LT_OUTPUT): Likewise.
|
|
|
|
* libtoolize.m4sh: Likewise.
|
|
|
|
|
2010-01-06 15:03:33 +08:00
|
|
|
Continued in ChangeLog.2009
|
2006-01-31 04:09:41 +08:00
|
|
|
|
|
|
|
vim:tw=72
|