aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordos-reis <gdr@axiomatics.org>2011-06-24 00:38:15 +0000
committerdos-reis <gdr@axiomatics.org>2011-06-24 00:38:15 +0000
commitb482b8dde1493be19a01c6a53cf5e9e17510d7a8 (patch)
tree11e823f1e1f6bf2715c8a1e6b9c6be8ed52236a6
parent2131e2c22ebf8e7ad51df4e4a8d9fa5dddfdb62d (diff)
downloadopen-axiom-b482b8dde1493be19a01c6a53cf5e9e17510d7a8.tar.gz
* utils/command.cc (build_rts_options) [clozure_runtime]: Request
no read of initialization file instead of quiet mode. (execute_core): Set arg[0] to the about-to-bed-executed program.
-rw-r--r--src/ChangeLog6
-rw-r--r--src/utils/command.cc6
2 files changed, 8 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9b13be6f..7d479cbf 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2011-06-23 Gabriel Dos Reis <gdr@cs.tamu.edu>
+
+ * utils/command.cc (build_rts_options) [clozure_runtime]: Request
+ no read of initialization file instead of quiet mode.
+ (execute_core): Set arg[0] to the about-to-bed-executed program.
+
2011-06-22 Gabriel Dos Reis <gdr@cs.tamu.edu>
* driver/Makefile.in (open_axiom_LDADD): Use library archives for
diff --git a/src/utils/command.cc b/src/utils/command.cc
index f53e6f70..0784f14c 100644
--- a/src/utils/command.cc
+++ b/src/utils/command.cc
@@ -223,7 +223,7 @@ build_rts_options(Command* command, Driver driver)
case clozure_runtime:
command->rt_args.allocate(2);
- command->rt_args[0] = (char*) "--quiet";
+ command->rt_args[0] = (char*) "--no-init";
command->rt_args[1] = (char*) "--batch";
break;
@@ -523,10 +523,8 @@ execute_core(const Command* command, Driver driver)
args[0] = (char*) "";
/* And CLISP wants to believe that argv[0] is where it hides stuff
from the saved image. */
- else if (OPENAXIOM_BASE_RTS == clisp_runtime)
- args[0] = execpath;
else
- args[0] = command->core.argv[0];
+ args[0] = execpath;
/* Now, make sure we copy whatever arguments are required by the
runtime system. */
for (i = 0; i < command->rt_args.size(); ++i)