bug#75997: (ice-9 match): warning: unused variable `failure'

2025-02-27 Thread Tomas Volf
Ludovic Courtès writes: > Tomas Volf <~@wolfsden.cz> skribis: > >> (lambda (expr) >> (let* ((v expr) >> (failure >>(lambda () >> ((@@ (ice-9 match) throw) >> 'match-error >> "match" >> "no matching pattern" >>

bug#76621: [PATCH] sxml: Fix typo in a comment.

2025-02-27 Thread Tomas Volf
* module/sxml/xpath.scm: Fix typo in a comment. * module/sxml/upstream/SXPath-old.scm: Same. * doc/ref/sxml.texi (SXPath): Reflect in the documentation. --- doc/ref/sxml.texi | 2 +- module/sxml/upstream/SXPath-old.scm | 2 +- module/sxml/xpath.scm | 2 +- 3 files c

bug#76623: [PATCH] filesys.c: Use scm_sendfile to copy files.

2025-02-27 Thread Tomas Volf
Use scm_sendfile instead of read-write loop. This moves the work into the kernel, improving performance. This implements Ludovic's suggestion from bug 68504. * libguile/filesys.c (scm_copy_file2): Use scm_sendfile. --- libguile/filesys.c | 21 + 1 file changed, 13 insertions

bug#76624: [PATCH] filesys.c: Trim trailing white-space.

2025-02-27 Thread Tomas Volf
* libguile/filesys.c: Trim trailing white-space. --- libguile/filesys.c | 122 ++--- 1 file changed, 61 insertions(+), 61 deletions(-) diff --git a/libguile/filesys.c b/libguile/filesys.c index 0e7078cf0..3bfa5eb91 100644 --- a/libguile/filesys.c +++ b/libg