From: Chris Hanson Date: Wed, 5 Jul 2000 18:27:33 +0000 (+0000) Subject: Define procedure HOST/TYPE-NAME. X-Git-Tag: 20090517-FFI~3383 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=5c3e339c5657f40743091db1d1ec4590a3ba38ba;p=mit-scheme.git Define procedure HOST/TYPE-NAME. --- 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