353a876869
have been many many changes including many bug fixes, graphics improvements, editor improvements, new toolbox functions, etc.
29 lines
757 B
Text
29 lines
757 B
Text
$NetBSD: patch-ah,v 1.10 2007/03/23 22:08:56 dmcmahill Exp $
|
|
|
|
--- routines/pvm/pvm_proc_ctrl.c.orig 2005-10-22 18:53:11.000000000 +0000
|
|
+++ routines/pvm/pvm_proc_ctrl.c
|
|
@@ -414,7 +414,8 @@ void C2F(scipvmspawn)(char *task, int *
|
|
char cmd[256];
|
|
char *arg[4];
|
|
int nargs= -1;
|
|
-
|
|
+ char *path;
|
|
+
|
|
arg[0] = NULL;
|
|
|
|
cmd[0] = 0;
|
|
@@ -427,7 +428,13 @@ void C2F(scipvmspawn)(char *task, int *
|
|
strcpy(cmd, "scilex.exe");
|
|
#else
|
|
/* I really need scilab here for gtk -version */
|
|
- strcpy(cmd, "scilab");
|
|
+ if (path = getenv("SCI")){
|
|
+ strcpy(cmd,path);
|
|
+ strcat(cmd,"/bin/scilab");
|
|
+ }
|
|
+ else {
|
|
+ strcpy(cmd, "scilab");
|
|
+ }
|
|
#endif
|
|
#if (defined __MSC__) || defined(__MINGW32__)
|
|
if ( _stricmp(task,"null") != 0)
|