Skip to content

Commit

Permalink
0.8.9.6.netbsd.3:
Browse files Browse the repository at this point in the history
	Minor commentary and indentation fixes.
  • Loading branch information
csrhodes committed Apr 8, 2004
1 parent 01044af commit 4f9ca5e
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 13 deletions.
3 changes: 2 additions & 1 deletion CREDITS
Expand Up @@ -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
Expand Down
27 changes: 17 additions & 10 deletions src/runtime/bsd-os.c
Expand Up @@ -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__ */

Expand Down
4 changes: 3 additions & 1 deletion src/runtime/undefineds.h
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion version.lisp-expr
Expand Up @@ -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"

0 comments on commit 4f9ca5e

Please sign in to comment.