changeset 3608:ebd0a92eeb56

*** empty log message ***
author Jim Meyering <jim@meyering.net>
date Fri, 16 Nov 2001 09:20:31 +0000
parents 0eb39272f531
children 98e1c3b48789
files lib/ChangeLog
diffstat 1 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib/ChangeLog
+++ b/lib/ChangeLog
@@ -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.