bug#52835: [PATCH 0/2] Fix spawning a child not setting standard fds properly

2023-01-13 Thread Bug reports for GUILE, GNU's Ubiquitous Extension Language
Hello Josselin & Ludo, Thanks for your work on this, posix_spawn is a nice improvement! My comments on the changes in the wip-posix-spawn branch follow. In doc/ref/posix.texi: @quotation Note If you are only looking to fork+exec with some pipes set up, using pipes or the more @code{spawn} p

bug#60779: ‘SCM_F_BYTEVECTOR_IMMUTABLE’ is not honored by bytevector instructions

2023-01-13 Thread Ludovic Courtès
Bytevector literals are marked as ‘SCM_F_BYTEVECTOR_IMMUTABLE’, but VM instructions that access bytevectors do not check that flag, which can lead to segfaults: --8<---cut here---start->8--- $ cat t.scm (use-modules (rnrs bytevectors)) (define bv #vu8(1 2 3)) (

bug#52835: [PATCH 0/2] Fix spawning a child not setting standard fds properly

2023-01-13 Thread Ludovic Courtès
Hi Andrew & Josselin, Andrew Whatson skribis: > Thanks for your work on this, posix_spawn is a nice improvement! > > My comments on the changes in the wip-posix-spawn branch follow. As discussed on IRC, I took your comments into account. I also added a ‘system*’ test based on what Josselin pro

bug#59321: ice-9's open-input-pipe is unexpectedly slow on some systems

2023-01-13 Thread Ludovic Courtès
Hello! Andrew Whatson skribis: > commit c012d7b0d5248a99a3a92780687a676c5d420f5f > Author: Andrew Whatson > Date: Thu Dec 8 21:43:28 2022 +1000 > > Reduce redundant close() calls when forking on some systems. > > Some systems provide "/proc/self/fd" which is a directory containin

bug#27782: patch for mmap and friends

2023-01-13 Thread Matt Wette
Please consider this patch for adding mmap(), munmap() and msync()  to libguile/filesys.c.  Included is update for posix.texi and test file mman.test. Once included, feature 'mman should be #t. Matt From 6c944174d35d43f87340c8199d47f3f088fa6ca7 Mon Sep 17 00:00:00 2001 From: Matt Wette Date: F

bug#27782: patch for mmap and friends

2023-01-13 Thread Matt Wette
On 1/13/23 4:49 PM, Matt Wette wrote: Please consider this patch for adding mmap(), munmap() and msync()  to libguile/filesys.c.  Included is update for posix.texi and test file mman.test. Once included, feature 'mman should be #t. Matt Please add the attached file: test-suite/tests/mman.test

bug#60799: Bogus 'Error while printing exception' message when raising srfi-35 exception

2023-01-13 Thread Maxim Cournoyer
Hello Guile, When raising a srfi-35 defined exception type like in the following, a generic (and unhelpful) "Error while printing exception" message is shown, with not even the exception type mentioned: --8<---cut here---start->8--- (use-modules (srfi srfi-35))

bug#60799: Bogus 'Error while printing exception' message when raising srfi-35 exception

2023-01-13 Thread Ricardo Wurmus
Hi Maxim, > When raising a srfi-35 defined exception type like in the following, a > generic (and unhelpful) "Error while printing exception" message is > shown, with not even the exception type mentioned: > > (use-modules (srfi srfi-35)) > > (define-condition-type &platform-not-found-error &err