Re: truth of %nil

2009-07-08 Thread Ludovic Courtès
Hi, Neil Jerram writes: > There are ways of writing compile time asserts; see > http://www.jaggersoft.com/pubs/CVu11_3.html for some. I don't know > how portable these all are, but at work we use the case label one, and > that seems to be good on common platforms. Gnulib's `verify' module prov

Re: truth of %nil

2009-07-08 Thread Mark H. Weaver
I've discovered two more tests that can be optimized using the same bit masking tricks: scm_is_bool and scm_is_bool_or_lisp_nil (newly created). Since SCM_BOOL_F and SCM_BOOL_T differ by only one bit, that one is easy. The other one can be implemented the same way as scm_is_lisp_false in my last

Re: popen test hangs

2009-07-08 Thread Neil Jerram
"Marijn Schouten (hkBst)" writes: >> check-guile.log ends with >> >> PASS: popen.test: open-input-pipe: no args >> PASS: popen.test: open-input-pipe: port? >> PASS: popen.test: open-input-pipe: echo hello >> PASS: popen.test: open-input-pipe: stdin==stderr >> PASS: popen.test: open-input-pipe: s