Remove some warnings (Perry Metzinger sbcl-devel 2004-03-30
"some anti-warning patches")
... also improve the comment above extern char **environ
Add required exit clause to load.impure.lisp
#include <stdio.h>
#include <stdlib.h>
+#include <string.h>
#include <sys/file.h>
#include <sys/types.h>
#include <sys/stat.h>
lispobj old_tl_value;
struct binding *binding;
struct thread *thread=(struct thread *)th;
+#ifdef LISP_FEATURE_SB_THREAD
struct symbol *sym=(struct symbol *)native_pointer(symbol);
+#endif
binding = GetBSP();
SetBSP(binding+1);
#ifdef LISP_FEATURE_SB_THREAD
#include <sys/stat.h>
#include <fcntl.h>
#include <sys/ioctl.h>
-#if defined(SVR4) || defined(__linux__)
#include <unistd.h>
-#endif
#include <sys/ioctl.h>
#include <termios.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <signal.h>
#include <sys/file.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <sched.h>
#include <signal.h>
#include <stddef.h>
#include "sbcl.h"
#include "util.h"
-/* KLUDGE: Neither the OpenBSD nor the Linux man page give a header
- * file to find this in (?). -- WHN 2002-02-07 */
+/* Although it might seem as though this should be in some standard
+ Unix header, according to Perry E. Metzger, in a message on
+ sbcl-devel dated 2004-03-29, this is the POSIXly-correct way of
+ using environ: by an explicit declaration. -- CSR, 2004-03-30 */
extern char **environ;
\f
/*
(assert (not (array-has-fill-pointer-p *array*)))))
(when tmp-fasl (delete-file tmp-fasl))
(delete-file *tmp-filename*))))
+
+(quit :unix-status 104)
;;; 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.7"
+"0.8.9.8"