On 2023/03/30 22:21:28 +0200, Josselin Poiret wrote:
> Hi Ludo,
>
> Ludovic Courtès writes:
>
> > Coming next is an updated patch series addressing this as proposed
> > above. Let me know what y’all think!
> >
> > I tested the ‘posix_spawn_file_actions_addclosefrom_np’ path by building in:
> >
Reproduction:
(let ((xs '(1)))
(set-car! xs 0))
or
(let ((xs '(1 2)))
(set-car! (cdr xs) 0))
Guile will segfault executing this code, and only when set-car! is called on
the last node. I believe the expectation is that it does not segfault and xs
will be modified to (0) o
> Le 1 avr. 2023 à 08:22, Rui Zhang a écrit :
>
> Reproduction:
>
>(let ((xs '(1)))
> (set-car! xs 0))
>
> or
>
>(let ((xs '(1 2)))
> (set-car! (cdr xs) 0))
>
> Guile will segfault executing this code, and only when set-car! is called on
> the last node. I believe the e