*** empty log message ***
authorJim Meyering <jim@meyering.net>
Fri, 16 Nov 2001 09:20:31 +0000 (09:20 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 16 Nov 2001 09:20:31 +0000 (09:20 +0000)
lib/ChangeLog

index 4770f12..34e3f61 100644 (file)
@@ -1,3 +1,14 @@
+2001-11-16  Jim Meyering  <meyering@lucent.com>
+
+       * physmem.c [HAVE_SYS_PSTAT_H]: Include <sys/pstat.h>.
+       (physmem_total) [HAVE_PSTAT_GETSTATIC]: If sysconf couldn't be used to
+       determine the amount of total physical memory, use pstat_getstatic.
+       HPUX-11 doesn't define _SC_PHYS_PAGES.
+       (physmem_available) [HAVE_PSTAT_GETSTATIC && HAVE_PSTAT_GETDYNAMIC]:
+       If sysconf couldn't be used to determine the amount of available
+       physical memory, use both pstat_getstatic and pstat_getdynamic.
+       Based on a patch from Bob Proulx.
+
 2001-11-05  Jim Meyering  <meyering@lucent.com>
 
        * xstat.in (slash_aware_lstat): Correct a misleading comment.