fsusage: Enable large volume support on AIX >= 5.2.
authorBruno Haible <bruno@clisp.org>
Sun, 24 Jul 2011 10:20:41 +0000 (12:20 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 24 Jul 2011 10:20:41 +0000 (12:20 +0200)
commit38a06045a37da92e99e9c75e2cfc298312fd00ed
tree2ba26d00f8e1915550948bcd85129dbc5917202f
parent34a0e456e514ba572223248a746ea3aa529b3e1d
fsusage: Enable large volume support on AIX >= 5.2.

* m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): If 'struct statvfs64' has a
larger f_blocks field than 'struct statvfs', define STAT_STATVFS64
instead of STAT_STATVFS.
* lib/fsusage.c (get_fs_usage) [STAT_STATVFS64]: Use statvfs64.
ChangeLog
lib/fsusage.c
m4/fsusage.m4