#24 exception in host-info

open
run-time (53)
5
2001-03-13
2001-03-13
No

My first guess for why these routines behave
differently is because they use herrno, not errno.

-bri

From: Maurice.Bremond@inria.fr
To: scsh@ai.mit.edu
Subject: exception in host-info
Date: Wed, 12 Nov 1997 15:53:44 +0100 (MET)

Our installation :
scsh-0.5.1 on Solaris, sun Os 4, sgi

Our problem :
We discovered that we can't catch the following
exception :

(with-errno-handler
((errno packet)
(else (list errno packet)))
(host-info "128.93.21.99")) ; a host that doesn't
have a DNS entry

>
Error: name->host-info: non-zero herrno ~s ~s
1
#f

host-info does not seem to raise any exception upon
error, neither do almost al\ l
other procedures from network.scm (as they all call
the alt/features.scm
error procedure instead of scsh/scsh-conditions errno-
error).

Is there any way to do avoid stopping execution in
this case ?

Thank you in advance,

Maurice Br\351mond - INRIA France

Discussion


Log in to post a comment.