From: Chris Hanson Date: Fri, 23 Oct 1998 05:35:51 +0000 (+0000) Subject: Implement SCHEME-PROGRAM-NAME primitive. This returns (argv[0]). X-Git-Tag: 20090517-FFI~4727 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=c2d295777286fee024cd136a4b24bc56f371c397;p=mit-scheme.git Implement SCHEME-PROGRAM-NAME primitive. This returns (argv[0]). --- diff --git a/v7/src/microcode/sysprim.c b/v7/src/microcode/sysprim.c index 8528be783..6bffc8c39 100644 --- a/v7/src/microcode/sysprim.c +++ b/v7/src/microcode/sysprim.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: sysprim.c,v 9.44 1998/10/23 05:35:17 cph Exp $ +$Id: sysprim.c,v 9.45 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))); }