From 0b9f58c339184ef16f362e8e1aa0948a93f8b2d7 Mon Sep 17 00:00:00 2001 From: Michael Gran Date: Sat, 22 Mar 2025 11:26:20 -0700 Subject: [PATCH] Fix NEWS for load-foreign-library NEWS update was in wrong location. This fixes news entry from 7b412940497394b0f73b29d8ceabf8312baf5cbe * NEWS: update --- NEWS | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/NEWS b/NEWS index 2ebb6baf2..dafad95c4 100644 --- a/NEWS +++ b/NEWS @@ -45,6 +45,21 @@ for-delimited-from-port and for-line-in-file. Of these, for-line-in-file is helpful in the common situation where you want a procedure applied to every line in a file. +** Improve 'load-foreign-library' handling of DLLs + +The non-libltdl load-foreign-library introduced in 3.0.6 does not handle +some common cases with libtool-generated DLLs. It has been updated +to search for DLLs that have a version number appended to the name +by libtool, such as libfoo-1.dll. + +Also, it has been updated to do library renaming for MSYS. On Cygwin, +when the #:rename-on-cygwin? option is #t, it already had the capability +to search for "libfoo" as "cygfoo.dll". It has been updated to add the +capability to search for "libfoo" as "msys-foo.dll" on MSYS. + +The load-foreign-library option #:rename-on-cygwin? has been changed to +#:host-type-rename?, and handles both Cygwin and MSYS. + * Performance improvements ** `copy-file` now relies on `sendfile` rather than a read/write loop @@ -261,21 +276,6 @@ binary-port) used to be implemented in C, making it non-suspendable--a bummer for programs using suspendable ports and Fibers. It has been rewritten in Scheme, addressing this limitation. -** improve 'load-foreign-library' handling of DLLs - -The non-libltdl load-foreign-library introduced in 3.0.6 does not handle -some common cases with libtool-generated DLLs. It has been updated -to search for DLLs that have a version number appended to the name -by libtool, such as libfoo-1.dll. - -Also, it has been updated to do library renaming for MSYS. On Cygwin, -when the #:rename-on-cygwin? option is #t, it already had the capability -to search for "libfoo" as "cygfoo.dll". It has been updated to add the -capability to search for "libfoo" as "msys-foo.dll" on MSYS. - -The load-foreign-library option #:rename-on-cygwin? has been changed to -#:host-type-rename?, and handles both Cygwin and MSYS. - * Performance improvements ** Better compilation of calls to procedures with keyword arguments