From owner-cvs-lib Mon Jun 1 13:59:32 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA03147 for cvs-lib-outgoing; Mon, 1 Jun 1998 13:59:32 -0700 (PDT) (envelope-from owner-cvs-lib) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA02869; Mon, 1 Jun 1998 13:58:32 -0700 (PDT) (envelope-from msmith@FreeBSD.org) From: Michael Smith Received: (from msmith@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id NAA12668; Mon, 1 Jun 1998 13:58:04 -0700 (PDT) Date: Mon, 1 Jun 1998 13:58:04 -0700 (PDT) Message-Id: <199806012058.NAA12668@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-lib@FreeBSD.ORG Subject: cvs commit: src/lib/libc/gen sysconf.c Sender: owner-cvs-lib@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk msmith 1998/06/01 13:58:04 PDT Modified files: lib/libc/gen sysconf.c Log: Add a trivial mechanism for returning a useful default value if one is available and the kernel MIB setting is zero. Return the result from getpagesize() if the p1003_1b.pagesize MIB value is zero. Suggested by: Joerg Schilling Revision Changes Path 1.10 +4 -1 src/lib/libc/gen/sysconf.c