bug#69730: Segfault in (spawn) when passed wrong port

2024-03-11 Thread Tomas Volf
Greetings, When I pass #f to spawn as a port, it just segfaults: $ guile -c '(spawn "true" (list "") #:error #f)' Segmentation fault Ignoring the fact whether #f should be an accepted value (I think it would be more elegant and portable then (open-output-file "/dev/null")), I would not e

bug#69725: Incorrect comapration between exact and inexact numbers

2024-03-11 Thread Maciej
description: script(named main.scm): (use-modules (srfi srfi-11)) (define* (newton-sqrt x #:optional (tolerance 0.001) (guess 1)) (if (< (abs (- x (* guess guess))) tolerance) (values guess (abs (- x (* guess guess))) tolerance) (newton-sqrt x tolerance (/ (+ guess (/ x g