0.8.9.6.netbsd.3:
authorChristophe Rhodes <csr21@cam.ac.uk>
Thu, 8 Apr 2004 13:14:23 +0000 (13:14 +0000)
committerChristophe Rhodes <csr21@cam.ac.uk>
Thu, 8 Apr 2004 13:14:23 +0000 (13:14 +0000)
Minor commentary and indentation fixes.

CREDITS
src/runtime/bsd-os.c
src/runtime/undefineds.h
version.lisp-expr

diff --git a/CREDITS b/CREDITS
index 59cad6f..cd42549 100644 (file)
--- 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
index 5965596..552b0c2 100644 (file)
@@ -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__ */
 \f
index 5923dd3..78c58b1 100644 (file)
@@ -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)
index cfd80aa..66b339f 100644 (file)
@@ -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"