From 5c3e339c5657f40743091db1d1ec4590a3ba38ba Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Wed, 5 Jul 2000 18:27:33 +0000 Subject: [PATCH] Define procedure HOST/TYPE-NAME. --- v7/src/runtime/pathnm.scm | 5 ++++- v7/src/runtime/runtime.pkg | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/v7/src/runtime/pathnm.scm b/v7/src/runtime/pathnm.scm index 6bc09e96b..2f6de22ac 100644 --- a/v7/src/runtime/pathnm.scm +++ b/v7/src/runtime/pathnm.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: pathnm.scm,v 14.32 1999/01/02 06:11:34 cph Exp $ +$Id: pathnm.scm,v 14.33 2000/07/05 18:27:24 cph Exp $ Copyright (c) 1988-1999 Massachusetts Institute of Technology @@ -458,6 +458,9 @@ these rules: (define (host/type host) (vector-ref host-types (host/type-index host))) +(define (host/type-name host) + (host-type/name (host/type host))) + (define (host=? x y) (and (= (host/type-index x) (host/type-index y)) (equal? (host/name x) (host/name y)))) diff --git a/v7/src/runtime/runtime.pkg b/v7/src/runtime/runtime.pkg index bf4807def..a646ab458 100644 --- a/v7/src/runtime/runtime.pkg +++ b/v7/src/runtime/runtime.pkg @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: runtime.pkg,v 14.354 2000/06/26 22:12:59 cph Exp $ +$Id: runtime.pkg,v 14.355 2000/07/05 18:27:33 cph Exp $ Copyright (c) 1988-2000 Massachusetts Institute of Technology @@ -1715,6 +1715,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. file-namestring file-pathname host-namestring + host/type-name host=? host? init-file-pathname -- 2.25.1