fstat(): Fix to convert between the NaCl and glibc struct layoutsnacl-dynlink-0.1
commitebb3c19cfd2ea6ace882acdade4388760bbd15e6
authorMark Seaborn <mrs@mythic-beasts.com>
Sun, 14 Jun 2009 13:29:40 +0000 (14 14:29 +0100)
committerMark Seaborn <mrs@mythic-beasts.com>
Sun, 14 Jun 2009 13:29:40 +0000 (14 14:29 +0100)
tree64d890a4aa8caf36df2264786b9b0c6f3cdbdb66
parentf5b3e2bc822ebb0e34642a500667f87bba2f5105
fstat(): Fix to convert between the NaCl and glibc struct layouts

We need NaCl's st_ino value to come out correctly because Python uses
it to determine whether an extension module is the same as a
previously-loaded module, which doesn't work if st_ino is always zero.
sysdeps/nacl/fxstat.c
sysdeps/nacl/fxstat64.c
sysdeps/nacl/nacl_stat.h [new file with mode: 0644]