| To: | gunter@netcom.com |
|---|---|
| Subject: | Re: file-attributes, fileinfo:mode trivia |
| From: | Olin Shivers <shivers@clark.lcs.mit.edu> |
| Date: | Sun, 13 Nov 94 18:32:56 -0500 |
| Cc: | scsh@martigny.ai.mit.edu |
| Reply-to: | shivers@mintaka.lcs.mit.edu |
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?
It's not a bug, it's a feature. As you point out, it should be documented.
-Olin
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Solaris 2.3 build problems, Travis V Broughton |
|---|---|
| Next by Date: | More trivia: Documentation spelling inconsistency (file-writable?), Mike Gunter |
| Previous by Thread: | file-attributes, fileinfo:mode trivia, Michial A. Gunter |
| Next by Thread: | Scsh almost builds, but not quite., Jan E Backlund |
| Indexes: | [Date] [Thread] [Top] [All Lists] |