0.7.2.6:
authorChristophe Rhodes <csr21@cam.ac.uk>
Thu, 4 Apr 2002 16:07:50 +0000 (16:07 +0000)
committerChristophe Rhodes <csr21@cam.ac.uk>
Thu, 4 Apr 2002 16:07:50 +0000 (16:07 +0000)
Merged NJF "implicit function definition cleanup" patch (from
sbcl-devel 2002-03-26)
... used Ingvar's fix for preprocessor stuff in grovel_headers.c
Also minor change to make.sh to allow use under vanilla sh

16 files changed:
NEWS
make.sh
src/runtime/alloc.c
src/runtime/gc.c
src/runtime/interr.c
src/runtime/interrupt.c
src/runtime/os-common.c
src/runtime/run-program.c
src/runtime/runtime.c
src/runtime/save.c
src/runtime/search.c
src/runtime/sunos-os.c
src/runtime/validate.c
src/runtime/vars.c
tools-for-build/grovel_headers.c
version.lisp-expr

diff --git a/NEWS b/NEWS
index 10e21bc..c51dbde 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1058,11 +1058,16 @@ changes in sbcl-0.7.2 relative to sbcl-0.7.1:
        encapsulation also seems closer to the spirit of the ANSI
        specification.)
 
-changes in sbcl-0.7.2 relative to sbcl-0.7.1:
-  * cleanups on SPARC, both Linux and Solaris, and for gcc>=3 (thanks
-    to Christophe Rhodes and Nathan Froyd)
+changes in sbcl-0.7.3 relative to sbcl-0.7.2:
+  * SBCL now runs on the PPC archtiecture under Linux. It actually did
+    this as of 0.7.1.45, but was left out of the previous news section
+    (thanks to Dan Barlow)
+  * SBCL now runs on the Solaris operating system on SPARC architectures
+    (thanks to Christophe Rhodes's port of the CMUCL runtime)
+  * cleanups to the runtime on SPARC, both Linux and Solaris, and for
+    gcc>=3 (thanks to Nathan Froyd and Ingvar Mattsson)
   * ANSI's DEFINE-SYMBOL-MACRO is now supported. (thanks to Nathan
-    Froyd porting CMU CL code)
+    Froyd porting CMU CL code originally by Douglas Thomas Crosher)
   * The fasl file format has changed again, to allow the compiler's
     INFO database to support symbol macros.
   * The user manual (in doc/) is formatted into HTML more nicely.
diff --git a/make.sh b/make.sh
index a2a577b..ebbacc9 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -50,7 +50,8 @@
 # require a second pass, just testing at build-the-cross-compiler time
 # whether the cross-compilation host returns suitable values from 
 # UPGRADED-ARRAY-ELEMENT-TYPE?)
-export SBCL_XC_HOST="${1:-sbcl --noprogrammer}"
+SBCL_XC_HOST="${1:-sbcl --noprogrammer}"
+export SBCL_XC_HOST
 echo //SBCL_XC_HOST=\"$SBCL_XC_HOST\"
 
 # If you're cross-compiling, you should probably just walk through the
index 661cdf4..0fe2be7 100644 (file)
@@ -19,6 +19,7 @@
 #include "globals.h"
 #include "gc.h"
 #include <stdio.h>
+#include <string.h>
 
 #define GET_FREE_POINTER() dynamic_space_free_pointer
 #define SET_FREE_POINTER(new_value) \
index fdf9ed1..ee6a2da 100644 (file)
@@ -536,7 +536,7 @@ scavenge_interrupt_context(os_context_t *context)
                        }
                }
        }
-#endif reg_LIP
+#endif /* reg_LIP */
 
        /* Compute the PC's offset from the start of the CODE */
        /* register. */
@@ -575,7 +575,7 @@ scavenge_interrupt_context(os_context_t *context)
        /* Fix the LIP */
        *os_context_register_addr(context, reg_LIP) =
            *os_context_register_addr(context, lip_register_pair) + lip_offset;
-#endif reg_LIP
+#endif /* reg_LIP */
        
        /* Fix the PC if it was in from space */
        if (from_space_p(*os_context_pc_addr(context)))
index a5f8650..18b3e9e 100644 (file)
@@ -15,6 +15,7 @@
 
 #include <stdio.h>
 #include <stdarg.h>
+#include <stdlib.h>
 
 #include "arch.h"
 #include "signal.h"
index b749059..467a2e4 100644 (file)
@@ -15,7 +15,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
-
+#include <string.h>
 #include <signal.h>
 
 #include "runtime.h"
index c7ea586..3becd18 100644 (file)
@@ -11,6 +11,7 @@
 
 #include <stdio.h>
 #include <errno.h>
+#include <strings.h>
 
 #include "os.h"
 #include "interr.h"
index 6e7bf18..2e92d83 100644 (file)
  * files for more information.
  */
 
+#include <stdlib.h>
 #include <sys/file.h>
-#include <sys/fcntl.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
 #include <sys/ioctl.h>
 #if defined(SVR4) || defined(__linux__)
 #include <unistd.h>
index efefc8e..aa54b85 100644 (file)
@@ -14,6 +14,7 @@
  */
 
 #include <stdio.h>
+#include <string.h>
 #include <sys/types.h>
 #include <stdlib.h>
 #include <unistd.h>
 #include <sys/param.h>
 #include <sys/stat.h>
 
+#if defined(SVR4) || defined(__linux__)
+#include <time.h>
+#endif
+
 #include "signal.h"
 
 #include "runtime.h"
@@ -211,24 +216,24 @@ main(int argc, char *argv[], char *envp[])
 
     if (!noinform) {
        printf(
-"This is SBCL " SBCL_VERSION_STRING ", an implementation of ANSI Common Lisp.
-
-SBCL is derived from the CMU CL system created at Carnegie Mellon University.
-Besides software and documentation originally created at Carnegie Mellon
-University, SBCL contains some software originally from the Massachusetts
-Institute of Technology, Symbolics Incorporated, and Xerox Corporation, and
-material contributed by volunteers since the release of CMU CL into the
-public domain. See the CREDITS file in the distribution for more information.
-
-SBCL is a free software system, provided as is, with absolutely no warranty.
-It is mostly in the public domain, but also includes some software copyrighted
-  Massachusetts Institute of Technology, 1986;
-  Symbolics, Inc., 1989, 1990, 1991, 1992; and
-  Xerox Corporation, 1985, 1986, 1987, 1988, 1989, 1990
-used under BSD-style licenses allowing copying only under certain conditions.
-See the COPYING file in the distribution for more information.
-
-More information on SBCL is available at <http://sbcl.sourceforge.net/>.
+"This is SBCL " SBCL_VERSION_STRING ", an implementation of ANSI Common Lisp.\n\
+\n\
+SBCL is derived from the CMU CL system created at Carnegie Mellon University.\n\
+Besides software and documentation originally created at Carnegie Mellon\n\
+University, SBCL contains some software originally from the Massachusetts\n\
+Institute of Technology, Symbolics Incorporated, and Xerox Corporation, and\n\
+material contributed by volunteers since the release of CMU CL into the\n\
+public domain. See the CREDITS file in the distribution for more information.\n\
+\n\
+SBCL is a free software system, provided as is, with absolutely no warranty.\n\
+It is mostly in the public domain, but also includes some software copyrighted\n\
+  Massachusetts Institute of Technology, 1986;\n\
+  Symbolics, Inc., 1989, 1990, 1991, 1992; and\n\
+  Xerox Corporation, 1985, 1986, 1987, 1988, 1989, 1990\n\
+used under BSD-style licenses allowing copying only under certain conditions.\n\
+See the COPYING file in the distribution for more information.\n\
+\n\
+More information on SBCL is available at <http://sbcl.sourceforge.net/>.\n\
 ");
        fflush(stdout);
     }
index 3336639..5783c43 100644 (file)
@@ -9,6 +9,7 @@
  * files for more information.
  */
 
+#include <stdlib.h>
 #include <stdio.h>
 #include <signal.h>
 #include <sys/file.h>
index e2d642b..217a294 100644 (file)
@@ -9,6 +9,8 @@
  * files for more information.
  */
 
+#include <string.h>
+
 #include "runtime.h"
 #include "sbcl.h"
 #include "os.h"
index dc58ee4..5aadf8c 100644 (file)
@@ -1,5 +1,5 @@
 #include <stdio.h>
-
+#include <stdlib.h>
 #include <signal.h>
 #include <sys/file.h>
 
index e3ad9b1..5c24d47 100644 (file)
@@ -14,6 +14,8 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
+
 #include "runtime.h"
 #include "os.h"
 #include "globals.h"
index 39f065b..8786ee7 100644 (file)
@@ -10,6 +10,7 @@
  */
 
 #include <stdio.h>
+#include <strings.h>
 #include <sys/types.h>
 #include <stdlib.h>
 
index a9adf64..0d33082 100644 (file)
@@ -27,7 +27,7 @@
 #include <unistd.h>
 
 #define DEFTYPE(lispname,cname) { cname foo; \
-    printf("(define-alien-type "##lispname##" (%s %d))\n", (((foo=-1)<0) ? "sb!alien:signed" : "unsigned"), (8 * (sizeof foo))); }
+    printf("(define-alien-type " lispname " (%s %d))\n", (((foo=-1)<0) ? "sb!alien:signed" : "unsigned"), (8 * (sizeof foo))); }
 
 void
 defconstant(char* lisp_name, long unix_number)
@@ -47,9 +47,9 @@ main(int argc, char *argv[])
 
     /* don't need no steenking hand-editing */
     printf(
-";;;; This is an automatically generated file, please do not hand-edit it.
-;;;; See the program \"grovel_headers.c\".
-
+";;;; This is an automatically generated file, please do not hand-edit it.\n\
+;;;; See the program \"grovel_headers.c\".\n\
+\n\
 ");
 
     printf("(in-package \"SB!UNIX\")\n\n");
index d60704c..f721556 100644 (file)
@@ -18,4 +18,4 @@
 ;;; for internal versions, especially for internal versions off the
 ;;; main CVS branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
 
-"0.7.2.5"
+"0.7.2.6"