`(defstruct (stat (:predicate statp)
(:conc-name st-)
(:constructor %make-stat-boa ,slots))
- ,doc
- ,@slots)))
+ ,doc
+ ,@slots)))
(doit
"Structure representing all the useful information `stat' returns about a
file."
to
(logior unix:O_WRONLY unix:O_CREAT how)
(logand (st-mode st) #o777))
- (sys-fchmod out (st-mode st))
+ (sys-fchmod out (st-mode st))
(sys-utimes to (st-atime st) 0 (st-mtime st) 0)
(with-errno-handlers ()
(sys-fchown out (st-uid st) (st-gid st))