projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1f8fb6
)
Implement SCHEME-PROGRAM-NAME primitive. This returns (argv[0]).
author
Chris Hanson
<org/chris-hanson/cph>
Fri, 23 Oct 1998 05:35:51 +0000
(
05:35
+0000)
committer
Chris Hanson
<org/chris-hanson/cph>
Fri, 23 Oct 1998 05:35:51 +0000
(
05:35
+0000)
v7/src/microcode/sysprim.c
patch
|
blob
|
history
diff --git
a/v7/src/microcode/sysprim.c
b/v7/src/microcode/sysprim.c
index 8528be783844c6690e559a9788000d1d4d6ff614..6bffc8c395d47c00075a62114c9eabe8190ca817 100644
(file)
--- a/
v7/src/microcode/sysprim.c
+++ b/
v7/src/microcode/sysprim.c
@@
-1,6
+1,6
@@
/* -*-C-*-
-$Id: sysprim.c,v 9.4
4 1998/10/23 05:35:17
cph Exp $
+$Id: sysprim.c,v 9.4
5 1998/10/23 05:35:51
cph Exp $
Copyright (c) 1987-98 Massachusetts Institute of Technology
@@
-172,5
+172,5
@@
DEFINE_PRIMITIVE ("GC-SPACE-STATUS", Prim_gc_space_status, 0, 0, 0)
DEFINE_PRIMITIVE ("SCHEME-PROGRAM-NAME", Prim_scheme_program_name, 0, 0, 0)
{
PRIMITIVE_HEADER (0);
- PRIMITIVE_RETURN (char_pointer_to_string (
scheme_program_name
));
+ PRIMITIVE_RETURN (char_pointer_to_string (
(char *) (scheme_program_name)
));
}