It appears there was a 6 may 22 change to `getenv` to make it more compatible with r7rs.

Accordingly, perhaps the current r7rs.scm file can be modified from:

(define (get-environment-variable x)
   (let ((val ((*libc* 'getenv) x)))
     (and (string? val)
      (> (length val) 0)
      val)))

to:

(define get-environment-variable getenv)

I could be missing some subtlety here, but I came across this today and thought it best to mention it.

Cheers, Michael

PS: Thanks as always for s7 and the ongoing efforts!
_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to