From owner-freebsd-current Tue May 12 14:07:22 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA24092 for freebsd-current-outgoing; Tue, 12 May 1998 14:07:22 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from peedub.muc.de (newpc.muc.ditec.de [194.120.126.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA24084 for ; Tue, 12 May 1998 14:07:19 -0700 (PDT) (envelope-from garyj@peedub.muc.de) Received: from peedub.muc.de (localhost [127.0.0.1]) by peedub.muc.de (8.8.8/8.6.9) with ESMTP id XAA02310; Tue, 12 May 1998 23:07:16 +0200 (CEST) Message-Id: <199805122107.XAA02310@peedub.muc.de> X-Mailer: exmh version 2.0.1 12/23/97 To: "John W. DeBoskey" cc: freebsd-current@FreeBSD.ORG Subject: Re: sysconf(_SC_PAGESIZE) broken ?? Reply-To: Gary Jennejohn In-reply-to: Your message of "Tue, 12 May 1998 00:47:21 EDT." <199805120447.AA02335@mozart> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 12 May 1998 23:07:16 +0200 From: Gary Jennejohn Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "John W. DeBoskey" writes: >Hi, > > I'm running 3.0 current on my machine: > >FreeBSD FreeBSD.pc.sas.com 3.0-CURRENT FreeBSD 3.0-CURRENT #1: > Mon May 11 23:04:43 EDT 1998 > root@FreeBSD.pc.sas.com:/usr/src/sys/compile/FreeBSD i386 > > The following program gives a rather bogus result which causes >cdrecord to fail rather miserably: > >main() >{ > int rc; > rc = sysconf(_SC_PAGESIZE); > printf("_SC_PAGESIZE == %d\n",rc); > return(0); >} > >$ make sysconftst >cc -O -pipe sysconf.c -o sysconf >$ ./sysconftst >_SC_PAGESIZE == -1 >$ > RTFM - sysconf does not support SC_PAGESIZE. It's returning an error. --- Gary Jennejohn Home - garyj@muc.de Work - garyj@fkr.dec.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message