From: Christophe Rhodes Date: Thu, 8 Apr 2004 13:14:23 +0000 (+0000) Subject: 0.8.9.6.netbsd.3: X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=4f9ca5ebd934f060f099ce12cd9a3851ba1fc990;p=sbcl.git 0.8.9.6.netbsd.3: Minor commentary and indentation fixes. --- diff --git a/CREDITS b/CREDITS index 59cad6f..cd42549 100644 --- a/CREDITS +++ b/CREDITS @@ -610,7 +610,8 @@ Dave McDonald: Perry E. Metzger: He ported SBCL to NetBSD with newer signals, building on the - work of Valtteri Vuorikoski. + work of Valtteri Vuorikoski. He also provided various cleanups to + the C runtime. Gerd Moellman: He has made many cleanups and improvements, small and large, in diff --git a/src/runtime/bsd-os.c b/src/runtime/bsd-os.c index 5965596..552b0c2 100644 --- a/src/runtime/bsd-os.c +++ b/src/runtime/bsd-os.c @@ -231,16 +231,23 @@ os_install_interrupt_handlers(void) #ifdef __NetBSD__ static void netbsd_init() { - struct rlimit rl; - - /* NetBSD counts mmap()ed space against the process's data size limit, - * so yank it up. This might be a nasty thing to do? */ - getrlimit (RLIMIT_DATA, &rl); - rl.rlim_cur = 1073741824; - if (setrlimit (RLIMIT_DATA, &rl) < 0) { - fprintf (stderr, "RUNTIME WARNING: unable to raise process data size limit to 1GB (%s). The system may fail to start.\n", - strerror(errno)); - } + struct rlimit rl; + + /* NetBSD counts mmap()ed space against the process's data size limit, + * so yank it up. This might be a nasty thing to do? */ + getrlimit (RLIMIT_DATA, &rl); + /* Amazingly for such a new port, the provenance and meaning of + this number are unknown. It might just mean REALLY_BIG_LIMIT, + or possibly it should be calculated from dynamic space size. + -- CSR, 2004-04-08 */ + rl.rlim_cur = 1073741824; + if (setrlimit (RLIMIT_DATA, &rl) < 0) { + fprintf (stderr, + "RUNTIME WARNING: unable to raise process data size limit:\n\ + %s.\n\ +The system may fail to start.\n", + strerror(errno)); + } } #endif /* __NetBSD__ */ diff --git a/src/runtime/undefineds.h b/src/runtime/undefineds.h index 5923dd3..78c58b1 100644 --- a/src/runtime/undefineds.h +++ b/src/runtime/undefineds.h @@ -257,7 +257,9 @@ F(gethostbyname) F(gethostbyaddr) /* other miscellaneous things */ -/* FIXME: NetBSD needs to get fixed here too PEM 2004-03-27 */ +/* FIXME: NetBSD plays some renaming games, and so cannot simply + reference symbols here. "NetBSD needs to get fixed here too PEM + 2004-03-27" */ #if defined(SVR4) || defined(__FreeBSD__) F(setpgid) F(getpgid) diff --git a/version.lisp-expr b/version.lisp-expr index cfd80aa..66b339f 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.8.9.6.netbsd.2" +"0.8.9.6.netbsd.3"