scsh-users
[Top] [All Lists]

file-attributes, fileinfo:mode trivia

To: scsh@martigny.ai.mit.edu
Subject: file-attributes, fileinfo:mode trivia
From: gunter@netcom.com (Michial A. Gunter)
Date: Fri, 11 Nov 1994 15:43:16 -0800
The scsh manual says:
        (define-record fileinfo
        ...     
          mode      ; File's permission bits.

At least on my system (SunOS 4.1.1), the file-attributes procedure
returns the same mode as stat();  mode includes the setuid and setgid
bits as well as the object's type.  The current behavior might be
better documented 
        (define-record fileinfo
        ...     
          mode      ; File's type and permission, setuid, and setgid bits   

However, since scsh cleans up the system call interface in other ways,
perhaps the redundant type bits in the mode field should be removed.
What do y'all think?

                mike gunter


<Prev in Thread] Current Thread [Next in Thread>