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

2025-02-28 Thread Ludovic Courtès
Hi, Tomas Volf <~@wolfsden.cz> skribis: > 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. Nice! I had to apply the cha

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

2025-02-28 Thread Ludovic Courtès
Tomas Volf <~@wolfsden.cz> skribis: > * 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. Applied, thanks.

bug#75590: ports.test: "SEEK_DATA while in hole" fails on some hosts

2025-02-28 Thread Ludovic Courtès
Hi Rob, Rob Browning skribis: > +(define (skip-unless-fs-handles-holes-as-expected) > + ;; For now only allow filesystems that should have the seek hole/data > + ;; semantics the tests expect. Filesystems vary both in how they > + ;; handle sparseness in general (e.g. granularity), how they

bug#74696: [PATCH] srfi-1: map!: Re-use cons cells of first argument.

2025-02-28 Thread Ludovic Courtès
Hello! Juliana Sims skribis: > * module/srfi/srfi-1.scm (map!): Re-use cons cells of first argument. > * test-suite/tests/srfi-1.test: Test map!. This LGTM but it leads to a bunch of unrelated test failures. Could you check on your side? Thanks, Ludo’.

bug#75084: bug report with patch 0003-Fix-make-custom-port-in-case-encoding-is-f.patch

2025-02-28 Thread Ludovic Courtès
Hi, Hannes Müller skribis: > From 72b85f8e6a369e6aef4c6bd6bb233c0cacb80b03 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Hannes=20M=C3=BCller?= <> > Date: Sat, 21 Dec 2024 16:55:13 +0100 > Subject: [PATCH] Fix make-custom-port in case encoding is #f > > * module/ice-9/custom-ports.scm (make-custom-

bug#75085: bug report with patch 0004-libguile-scm.h-fix-BUILDING_LIBGUILE-for-Werror-unde.patch

2025-02-28 Thread Ludovic Courtès
Hannes Müller skribis: > From 696151ca382c7b166d349f704812dd73bc2fa7a7 Mon Sep 17 00:00:00 2001 > From: =?UTF-8?q?Hannes=20M=C3=BCller?= <> > Date: Sat, 21 Dec 2024 19:20:17 +0100 > Subject: [PATCH] libguile/scm.h: fix BUILDING_LIBGUILE for -Werror=undef > > *libguile/scm.h: BUILDING_LIBGUILE is

bug#75642: A fix for `guile-3.0.pc`

2025-02-28 Thread Ludovic Courtès
Hi Werner, Werner LEMBERG skribis: >>From d92e90bf2a019fc4cb62b0a7398bddf87740e9f1 Mon Sep 17 00:00:00 2001 > From: Werner Lemberg > Date: Fri, 17 Jan 2025 11:10:26 +0100 > Subject: [PATCH] Add `LIB_GETRANDOM` to `Libs.private` in `.pc` files > > The omission was discovered while cross-compilin

bug#75040: [PATCH] Remove lib/malloc/.dirstamp and register to .gitignore.

2025-02-28 Thread Ludovic Courtès
Applied, thanks!

bug#75216: Miscompilation of code with numeric predicates

2025-02-28 Thread Ludovic Courtès
"Thompson, David" skribis: > Consider this contrived procedure: > > (define (foo x) > (cond >((integer? x) 42) >((and (number? x) (inexact? x)) 69) >(else 138))) > > This procedure is kind of silly but it resembles some real world code > I was debugging today. A call of (foo 8.2) s

bug#75055: [PATCH 0/3] Minor doc cleanups

2025-02-28 Thread Ludovic Courtès
Morgan Smith skribis: > I have 3 tiny little cleanups to contribute > > Morgan Smith (3): > Remove all remaining references to GDS > * HACKING: Update mailing list URL > * doc/README: Remove reference to a tutorial that no longer exists Hi! I tweaked the commit logs and applied them, than

bug#74841: [PATCH v2] srfi-19: Fix ~V converter in date->string.

2025-02-28 Thread Ludovic Courtès
Tomas Volf <~@wolfsden.cz> skribis: > The ~V is supposed to print ISO week number, not a week number. This > commit fixes that. > > * module/srfi/srfi-19.scm (date-week-number-iso): New procedure taken > from the reference implementation. > (directives)<#\V>: Use it. > * test-suite/tests/srfi-19.

bug#75590: ports.test: "SEEK_DATA while in hole" fails on some hosts

2025-02-28 Thread Rob Browning
Ludovic Courtès writes: > What does ‘path-fs’ do? How can we adapt it for use in the test suite? Oh, right, that's here: https://salsa.debian.org/rlb/deb-guile/-/blob/deb/guile-3.0/d/sid/master/debian/bin/path-fs?ref_type=heads via https://salsa.debian.org/rlb/deb-guile/-/commit/691c5a