diff src/octave.cc @ 703:21cc5b9b9ed6

[project @ 1994-09-15 02:39:57 by jwe]
author jwe
date Thu, 15 Sep 1994 02:41:12 +0000
parents 0faebdd7df57
children 36ba0576bd1b
line wrap: on
line diff
--- a/src/octave.cc	Thu Sep 15 02:32:47 1994 +0000
+++ b/src/octave.cc	Thu Sep 15 02:41:12 1994 +0000
@@ -54,6 +54,7 @@
 #include "sighandlers.h"
 #include "variables.h"
 #include "error.h"
+#include "dynamic-ld.h"
 #include "tree-misc.h"
 #include "tree-const.h"
 #include "tree-plot.h"
@@ -437,6 +438,10 @@
 // defaults.
   initialize_globals (argv[0]);
 
+// Initialize dynamic linking.  This might not do anything.  Must
+// happen after initializing raw_prog_name.
+  init_dynamic_linker ();
+
   int optc;
   while ((optc = getopt_long (argc, argv, short_opts, long_opts, 0)) != EOF)
     {
@@ -856,8 +861,8 @@
 
 // Execute a shell command.
 
-DEFUN ("shell_cmd", Fshell_cmd, Sshell_cmd, 2, 1,
-  "shell_cmd (string [, return_output]): execute shell commands")
+DEFUN ("system", Fsystem, Ssystem, 2, 1,
+  "system (string [, return_output]): execute shell commands")
 {
   Octave_object retval;
 
@@ -907,6 +912,8 @@
   return retval;
 }
 
+DEFALIAS (shell_cmd, system);
+
 /*
 ;;; Local Variables: ***
 ;;; mode: C++ ***