From 3a90be37deaccb18ebc9d15e8f69d6fa832573bf Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Mon, 7 Oct 1996 18:52:13 +0000 Subject: [PATCH] Define bits for Win32 attributes. --- v7/src/runtime/ntprm.scm | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/v7/src/runtime/ntprm.scm b/v7/src/runtime/ntprm.scm index 8cb2007ad..d3979e48a 100644 --- a/v7/src/runtime/ntprm.scm +++ b/v7/src/runtime/ntprm.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: ntprm.scm,v 1.8 1996/10/07 18:14:27 cph Exp $ +$Id: ntprm.scm,v 1.9 1996/10/07 18:52:13 cph Exp $ Copyright (c) 1992-96 Massachusetts Institute of Technology @@ -54,6 +54,15 @@ MIT in each case. |# (->namestring (merge-pathnames filename)) modes)) +(define-integrable nt-file-mode/read-only #x001) +(define-integrable nt-file-mode/hidden #x002) +(define-integrable nt-file-mode/system #x004) +(define-integrable nt-file-mode/directory #x010) +(define-integrable nt-file-mode/archive #x020) +(define-integrable nt-file-mode/normal #x080) +(define-integrable nt-file-mode/temporary #x100) +(define-integrable nt-file-mode/compressed #x800) + (define (file-access filename amode) ((ucode-primitive file-access 2) (->namestring (merge-pathnames filename)) -- 2.25.1