Changeset 7639 for branches/working-0710


Ignore:
Timestamp:
Nov 12, 2007, 10:04:49 PM (12 years ago)
Author:
gb
Message:

Clarify %STAT return values, argument constraints in a comment.
%UNIX-FILE-KIND: call NATIVE-TRANSLATED-NAMESTRING on the argument
passed to %STAT.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0710/ccl/level-1/linux-files.lisp

    r7611 r7639  
    280280
    281281
    282 ;;; Returns: (values t mode size mtime inode uid) on success,
    283 ;;;          (values nil nil nil nil nil nil) otherwise
     282;;; Returns: (values t mode size mtime inode uid blksize) on success,
     283;;;          (values nil nil nil nil nil nil nil) otherwise
     284;;; NAME should be a "native namestring", e.g,, have all lisp pathname
     285;;; escaping removed.
    284286(defun %stat (name &optional link-p)
    285287  (rlet ((stat :stat))
     
    305307
    306308(defun %unix-file-kind (path &optional check-for-link)
    307   (%file-kind (nth-value 1 (%stat path check-for-link))))
     309  (%file-kind (nth-value 1 (%stat (native-translated-namestring path) check-for-link))))
    308310
    309311(defun %unix-fd-kind (fd)
Note: See TracChangeset for help on using the changeset viewer.