]> gitweb.factorcode.org Git - factor.git/commitdiff
unix.stat: Rename stat.
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 24 Mar 2013 05:36:12 +0000 (22:36 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 24 Mar 2013 05:38:38 +0000 (22:38 -0700)
basis/unix/stat/macosx/macosx.factor
basis/unix/stat/stat.factor

index b96c1f4eed3e42f955d06c1c9cea373e8374b8d4..9bd321b036cea4e15bd1ec6f5efcb279f263cda1 100644 (file)
@@ -30,6 +30,6 @@ FUNCTION: int stat64  ( c-string pathname, stat* buf ) ;
 FUNCTION: int lstat64 ( c-string pathname, stat* buf ) ;
 FUNCTION: int fstat64 ( int fd, stat* buf ) ;
 
-: stat ( path buf -- n ) stat64 ;
+: stat-func ( path buf -- n ) stat64 ;
 : lstat ( path buf -- n ) lstat64 ;
 : fstat ( fd buf -- n ) fstat64 ;
index 26429aa9f76eb1e8deecfe924eb5fa247c119179..f52ccec7adf26e3989b896fee0dbbae7834073af 100644 (file)
@@ -27,7 +27,7 @@ TYPEDEF: fsid fsid_t
 } case >>
 
 : file-status ( pathname -- stat )
-    \ stat <struct> [ [ stat ] unix-system-call drop ] keep ;
+    \ stat <struct> [ [ stat-func ] unix-system-call drop ] keep ;
 
 : link-status ( pathname -- stat )
     \ stat <struct> [ [ lstat ] unix-system-call drop ] keep ;