Date: Tue, 12 May 1998 00:47:21 -0400 (EDT) From: "John W. DeBoskey" <jwd@unx.sas.com> To: freebsd-current@FreeBSD.ORG Subject: sysconf(_SC_PAGESIZE) broken ?? Message-ID: <199805120447.AA02335@mozart>
next in thread | raw e-mail | index | archive | help
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 $ I'm wondering whether or not this is due to my adding the Posix scheduling options to the kernel for cdrecord (ie: enable the sched_get_priority_max(SCHED_RR) code). # # Enable Posix priority scheduling # options "P1003_1B" options "_KPOSIX_PRIORITY_SCHEDULING" options "_KPOSIX_VERSION=199309L" Well, now I guess I'll start building a kernel without all three options and see what happens. Comments? Critiques? They're all welcome! Thanks, John To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805120447.AA02335>