On Sun, Oct 6, 2019 at 3:25 AM Göran Weinholt <xxxxxx@weinholt.se> wrote:
One thing I don't understand is the errno-error stuff. Why does it take
a procedure object?

It shouldn't.  Blame that on Olin's bad drafting compounded by my misreading.  He wrote "syscall" and I changed that to "procedure".  What it really is, per scsh-0.7, is a string containing the *name* of the procedure.  I've fixed it now, with the consequence that syscall-error:procedure is replaced by syscall-error:procname.  Note that this may be the name of a lower-level procedure called by the exported procedure.

I've pushed this change, along with Harold's current changes to master, to https://github.com/johnwcowan/srfi-170.  I can file a pull request on the official SRFI if Harold thinks we're ready for that.

Please adjust your implementations appropriately.

John Cowan          http://vrici.lojban.org/~cowan        xxxxxx@ccil.org
Knowledge studies others / Wisdom is self-known;
Muscle masters brothers / Self-mastery is bone;
Content need never borrow / Ambition wanders blind;
Vitality cleaves to the marrow / Leaving death behind.    --Tao 33 (Bynner)