bug#36915: make-thread-local-fluid ignores the default value

2019-08-03 Thread Caleb Ristvedt
In Guile 2.2.6 as packaged on Guix System (x86-64), the following happens: -- (define some-fluid (make-thread-local-fluid 42)) (display (fluid-ref some-fluid)) => #f -- The same problem doesn't happen with non-thread-local

bug#41204: port-revealed count is initially > 30000

2020-05-12 Thread Caleb Ristvedt
(port-revealed (open-input-file "/dev/null")) => 32539 The little investigating I've done so far suggests that this is because scm_i_fdes_to_port calls scm_gc_malloc_pointerless and initializes only the 'fdes' and 'options' fields, leaving 'revealed' uninitialized. The comment above scm_gc_mallo