Handle change in Linux 2.4.0-test6 stat structure
This commit is contained in:
parent
16a03d2e97
commit
d077c451cd
@ -1,3 +1,8 @@
|
||||
2000-08-09 Wichert Akkerman <wakkerma@debian.org>
|
||||
|
||||
* file.c: update to reflect that st_ino suddenly became a long long
|
||||
in the in Linux 2.4.0-test6
|
||||
|
||||
2000-08-09 Wichert Akkerman <wakkerma@debian.org>
|
||||
|
||||
* test/clone.c: minor fixup
|
||||
|
8
file.c
8
file.c
@ -643,10 +643,18 @@ long addr;
|
||||
}
|
||||
|
||||
if (!abbrev(tcp)) {
|
||||
#ifdef HAVE_LONG_LONG
|
||||
tprintf("{st_dev=makedev(%lu, %lu), st_ino=%llu, st_mode=%s, ",
|
||||
#else
|
||||
tprintf("{st_dev=makedev(%lu, %lu), st_ino=%lu, st_mode=%s, ",
|
||||
#endif
|
||||
(unsigned long) major(statbuf.st_dev),
|
||||
(unsigned long) minor(statbuf.st_dev),
|
||||
#ifdef HAVE_LONG_LONG
|
||||
(unsigned long long) statbuf.st_ino,
|
||||
#else
|
||||
(unsigned long) statbuf.st_ino,
|
||||
#endif
|
||||
sprintmode(statbuf.st_mode));
|
||||
tprintf("st_nlink=%lu, st_uid=%lu, st_gid=%lu, ",
|
||||
(unsigned long) statbuf.st_nlink,
|
||||
|
Loading…
Reference in New Issue
Block a user