Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'master' of git://factorcode.org/git/factor

  • Loading branch information...
commit 61dcd5b098017ab9497c013ed4bbb84cfff8aac9 2 parents 302d829 + 052838b
Slava Pestov authored

Showing 1 changed file with 19 additions and 17 deletions. Show diff stats Hide diff stats

  1. +19 17 basis/unix/stat/linux/64/64.factor
36 basis/unix/stat/linux/64/64.factor
@@ -2,24 +2,26 @@ USING: kernel alien.syntax math sequences unix
2 2 alien.c-types arrays accessors combinators ;
3 3 IN: unix.stat
4 4
5   -! stat64
  5 +! Ubuntu 7.10 64-bit
  6 +
6 7 C-STRUCT: stat
7   - { "dev_t" "st_dev" }
8   - { "ushort" "__pad1" }
9   - { "__ino_t" "__st_ino" }
10   - { "mode_t" "st_mode" }
11   - { "nlink_t" "st_nlink" }
12   - { "uid_t" "st_uid" }
13   - { "gid_t" "st_gid" }
14   - { "dev_t" "st_rdev" }
15   - { { "ushort" 2 } "__pad2" }
16   - { "off64_t" "st_size" }
17   - { "blksize_t" "st_blksize" }
18   - { "blkcnt64_t" "st_blocks" }
19   - { "timespec" "st_atimespec" }
20   - { "timespec" "st_mtimespec" }
21   - { "timespec" "st_ctimespec" }
22   - { "ulonglong" "st_ino" } ;
  8 + { "dev_t" "st_dev" }
  9 + { "ino_t" "st_ino" }
  10 + { "nlink_t" "st_nlink" }
  11 + { "mode_t" "st_mode" }
  12 + { "uid_t" "st_uid" }
  13 + { "gid_t" "st_gid" }
  14 + { "int" "pad0" }
  15 + { "dev_t" "st_rdev" }
  16 + { "off64_t" "st_size" }
  17 + { "blksize_t" "st_blksize" }
  18 + { "blkcnt64_t" "st_blocks" }
  19 + { "timespec" "st_atimespec" }
  20 + { "timespec" "st_mtimespec" }
  21 + { "timespec" "st_ctimespec" }
  22 + { "long" "__unused0" }
  23 + { "long" "__unused1" }
  24 + { "long" "__unused2" } ;
23 25
24 26 FUNCTION: int __xstat64 ( int ver, char* pathname, stat* buf ) ;
25 27 FUNCTION: int __lxstat64 ( int ver, char* pathname, stat* buf ) ;

0 comments on commit 61dcd5b

Please sign in to comment.
Something went wrong with that request. Please try again.