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
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))
(
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
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
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
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
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))
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