scsh-users
[Top] [All Lists]

Re: errno-error definition vs. documentation

To: Andreas Voegele <voegelas@gmx.net>
Subject: Re: errno-error definition vs. documentation
From: Martin Gasbichler <gasbichl@informatik.uni-tuebingen.de>
Date: Mon, 12 May 2003 14:08:10 +0200
Cc: scsh-news@zurich.ai.mit.edu
Andreas Voegele <voegelas@gmx.net> writes:

> Hi,
>
> there's a mismatch between the definition and the documentation of
> errno-error.  It seems that the "msg" argument is missing from the
> documentation.
>
> scsh/scsh-condition.scm:
>
>  (define (errno-error errno msg syscall . stuff)
>    (apply signal 'syscall-error errno msg syscall stuff))
>
> doc/scsh-manual/syscalls.tex:
>
>  \begin{dfndesc}
>      {errno-error}{errno syscall .\ data}{\noreturn}{procedure}
>

It's not missing from the documentation but ERRNO-ERROR should
generate the message itself from the errno and not accept it as an
argument. This will be fixed in the next release.

-- 
Martin

<Prev in Thread] Current Thread [Next in Thread>