Mercurial > gnulib
changeset 39930:980043d89bdb
fsusage: Remove support for AIX 3.
* lib/fsusage.c: Remove code for AIX 3.
* m4/fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Update comments.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 16 Oct 2018 20:47:03 +0200 |
parents | c8542f2525a3 |
children | 5b70149cc627 |
files | ChangeLog lib/fsusage.c m4/fsusage.m4 |
diffstat | 3 files changed, 11 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Oct 16 20:43:03 2018 +0200 +++ b/ChangeLog Tue Oct 16 20:47:03 2018 +0200 @@ -1,3 +1,9 @@ +2018-10-16 Bruno Haible <bruno@clisp.org> + + fsusage: Remove support for AIX 3. + * lib/fsusage.c: Remove code for AIX 3. + * m4/fsusage.m4 (gl_PREREQ_FSUSAGE_EXTRA): Update comments. + 2018-10-16 Bruno Haible <bruno@clisp.org> fsusage, stat-size, getloadavg: Remove support for AIX PS/2.
--- a/lib/fsusage.c Tue Oct 16 20:43:03 2018 +0200 +++ b/lib/fsusage.c Tue Oct 16 20:47:03 2018 +0200 @@ -216,9 +216,9 @@ fsp->fsu_blocksize = PROPAGATE_ALL_ONES (fsd.f_fsize); -#elif defined STAT_STATFS4 /* SVR3, Dynix, old Irix, old AIX */ +#elif defined STAT_STATFS4 /* SVR3, Dynix, old Irix */ -# if !_AIX && !defined _SEQUENT_ +# if !defined _SEQUENT_ # define f_bavail f_bfree # endif @@ -230,7 +230,7 @@ /* Empirically, the block counts on most SVR3 and SVR3-derived systems seem to always be in terms of 512-byte blocks, no matter what value f_bsize has. */ -# if _AIX || defined _CRAY +# if defined _CRAY fsp->fsu_blocksize = PROPAGATE_ALL_ONES (fsd.f_bsize); # else fsp->fsu_blocksize = 512;
--- a/m4/fsusage.m4 Tue Oct 16 20:43:03 2018 +0200 +++ b/m4/fsusage.m4 Tue Oct 16 20:47:03 2018 +0200 @@ -206,7 +206,7 @@ if test $ac_fsusage_space = no; then # SVR3 # (Solaris already handled above.) - AC_CACHE_CHECK([for four-argument statfs (AIX-3.2.5, SVR3)], + AC_CACHE_CHECK([for four-argument statfs (SVR3)], [fu_cv_sys_stat_statfs4], [AC_RUN_IFELSE([AC_LANG_SOURCE([[ #include <sys/types.h> @@ -224,7 +224,7 @@ if test $fu_cv_sys_stat_statfs4 = yes; then ac_fsusage_space=yes AC_DEFINE([STAT_STATFS4], [1], - [Define if statfs takes 4 args. (SVR3, Dynix, old Irix, old AIX)]) + [Define if statfs takes 4 args. (SVR3, Dynix, old Irix)]) fi fi