Re: &os-error conditions contain integers, not errnos

Michael Sperber <[email protected]> Thu, 17 Dec 2009 19:55:52 +0100
Newsgroups gmane.lisp.scheme.scheme48
Message-ID <[email protected]>
Robert Ransom <[email protected]> writes:

> On Sun, Dec 13, 2009 at 23:21, Michael Sperber <[email protected]>wrote:
>
>>
>> Roderic Morris <[email protected]> writes:
>>
>> > I'm not sure if this is the intended behavior, but it seems that it'd
>> > make more sense for them to contain errnos so handlers can use the
>> > errno api on them directly.
>>
>> Yes, but I haven't figured out how to do that without loading the POSIX
>> package into the default image, which isn't an option.  I guess there
>> needs to be some kind of hook, but I haven't had time to investigate
>> that avenue.  I'm happy to hear suggestions on how to resolve the issue.
>>
>
> The meaning of the OS-ERROR-CODE field is OS-dependent as well -- on
> Windows, it is the result of GetLastError or WSAGetLastError.

Right - that further complicates the issue.

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla