scsh-users
[Top] [All Lists]

exception in host-info

To: scsh@ai.mit.edu
Subject: exception in host-info
From: Maurice.Bremond@inria.fr
Date: Wed, 12 Nov 1997 15:53:44 +0100 (MET)
Reply-to: Maurice.Bremond@inria.fr
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 
all 
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émond - INRIA France

<Prev in Thread] Current Thread [Next in Thread>
  • exception in host-info, Maurice . Bremond <=