Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
8d7c3383 by Raymond Toy at 2015-10-10T13:39:42Z
Use correct path for git clone.
Noticed by Joram Schrijver who gave the correct path.
- - - - -
1 changed file:
- BUILDING
Changes:
=====================================
BUILDING
=====================================
--- a/BUILDING
+++ b/BUILDING
@@ -55,7 +55,7 @@ Setting up a build environment
or, if you want to use the git sources directly:
- git clone git://common-lisp.net/projects/cmucl/cmucl.git
+ git clone https://gitlab.common-lisp.net/cmucl/cmucl.git
Whatever you do, the sources must be in a directory named src
inside the base directory. Since the build tools keep all
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/8d7c33830d953f67d1e8253f7…
Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
3f5fb01a by Raymond Toy at 2015-10-09T22:17:20Z
Include the exit code when printing the process structure.
It's really nice to see the exit code of the process when printing out
the process structure.
Fix a typo too: "tings" -> "things".
- - - - -
1 changed file:
- src/code/run-program.lisp
Changes:
=====================================
src/code/run-program.lisp
=====================================
--- a/src/code/run-program.lisp
+++ b/src/code/run-program.lisp
@@ -90,15 +90,16 @@
output ; Stream from child's output or nil.
error ; Stream from child's error output or nil.
status-hook ; Closure to call when PROC changes status.
- plist ; Place for clients to stash tings.
+ plist ; Place for clients to stash things.
cookie ; List of the number of pipes from the subproc.
)
(defun %print-process (proc stream depth)
(declare (ignore depth))
- (format stream "#<process ~D ~S>"
+ (format stream "#<process ~D ~S code: ~S>"
(process-pid proc)
- (process-status proc)))
+ (process-status proc)
+ (process-exit-code proc)))
;;; PROCESS-STATUS -- Public.
;;;
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/3f5fb01a6e5f8e4efb8d3843d…
Raymond Toy pushed to branch master at cmucl / cmucl
Commits:
11a7e37b by Raymond Toy at 2015-10-09T21:56:01Z
Exit with the return code from obj_run_linker.
obj_run_linker() returns the return code from the call to system().
Exit lisp with this return code to indicate if running the executable
linker script worked or not.
- - - - -
1 changed file:
- src/lisp/save.c
Changes:
=====================================
src/lisp/save.c
=====================================
--- a/src/lisp/save.c
+++ b/src/lisp/save.c
@@ -250,6 +250,7 @@ save_executable(char *filename, lispobj init_function)
{
char *dir_name;
char *dir_copy;
+ int rc;
#if defined WANT_CGC
volatile lispobj *func_ptr = &init_function;
@@ -357,9 +358,9 @@ save_executable(char *filename, lispobj init_function)
printf("Linking executable...\n");
fflush(stdout);
- obj_run_linker(init_function, filename);
+ rc = obj_run_linker(init_function, filename);
printf("done.\n");
free(dir_copy);
- exit(0);
+ exit(rc);
}
#endif
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/commit/11a7e37bb39ee3e24e62c9382…