[PATCH 1/1] (scheme base) member: return #f, not (), for no match

2020-10-04 Thread Rob Browning
* module/scheme/base.scm (member): Match the r7rs requirement, as assoc already does. Thanks to Erik Dominikus for reporting the problem. Closes: 43304 --- Proposed for 3.0 module/scheme/base.scm | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/module/scheme/base.s

Re: [PATCH 1/1] (scheme base) member: return #f, not (), for no match

2020-10-04 Thread Rob Browning
Rob Browning writes: > * module/scheme/base.scm (member): Match the r7rs requirement, as assoc > already does. > > Thanks to Erik Dominikus for reporting the problem. > > Closes: 43304 > --- > > Proposed for 3.0 Hmm, this causes a failure in r7rs.test. Not sure if I made a mistake, or if oth

Re: [PATCH 1/1] (scheme base) member: return #f, not (), for no match

2020-10-04 Thread Rob Browning
Rob Browning writes: > Hmm, this causes a failure in r7rs.test. Not sure if I made a mistake, > or if other code depends on the incorrect behavior. Looking in to it. Ahh, it just revealed a bug in r7rs.test, i.e.: diff --git a/test-suite/tests/r7rs.test b/test-suite/tests/r7rs.test index 0914

[PATCH 1/1] scm_i_make_transcoded_port: fix mode for input/output ports

2020-10-04 Thread Rob Browning
* libguile/r6rs-ports.c (scm_i_make_transcoded_ports): make sure to include SCM_RDNG for input/output ports. Thanks to Göran Weinholt for reporting the problem. Closes: 41045 --- Proposed for 3.0. libguile/r6rs-ports.c| 4 ++-- test-suite/tests/r6rs-ports.test | 26