diff --git a/Fltk/Solvers.cpp b/Fltk/Solvers.cpp index b1b3fedab5d00a9eecfef508aadbb497246c17df..26836cdefd8661f8bd85c9c37560a543125a9590 100644 --- a/Fltk/Solvers.cpp +++ b/Fltk/Solvers.cpp @@ -1,4 +1,4 @@ -// $Id: Solvers.cpp,v 1.16 2003-01-25 00:05:49 geuzaine Exp $ +// $Id: Solvers.cpp,v 1.17 2003-01-25 22:33:38 geuzaine Exp $ // // Copyright (C) 1997 - 2003 C. Geuzaine, J.-F. Remacle // @@ -65,8 +65,8 @@ int Solver(int num, char *args){ case -1 : Msg(GERROR, "Couldn't create socket '%s'", socket_name); break; case -2 : Msg(GERROR, "Couldn't bin socket to name '%s'", socket_name); break; case -3 : Msg(GERROR, "Socket listen failed on '%s'", socket_name); break; - case -4 : Msg(GERROR, "Solver '%s' not responding on socket '%s'", - SINFO[num].name, socket_name); break; + case -4 : Msg(GERROR, "Solver is not responding (is '%s' correctly installed/in your path?)", + SINFO[num].executable_name); break; case -5 : Msg(GERROR, "Socket accept failed on '%s'", socket_name); break; } for(i=0 ; i<SINFO[num].nboptions ; i++) diff --git a/Parser/OpenFile.cpp b/Parser/OpenFile.cpp index 8e872e34c10e2e10605e43eea35d0f0750869041..a0930d8b21578b3bae42447484c2264327d54ae4 100644 --- a/Parser/OpenFile.cpp +++ b/Parser/OpenFile.cpp @@ -1,4 +1,4 @@ -// $Id: OpenFile.cpp,v 1.35 2003-01-24 23:13:36 geuzaine Exp $ +// $Id: OpenFile.cpp,v 1.36 2003-01-25 22:33:38 geuzaine Exp $ // // Copyright (C) 1997 - 2003 C. Geuzaine, J.-F. Remacle // @@ -192,7 +192,7 @@ void OpenProblem(char *name){ // replace "/cygwin/x/" with "x:/" void decygwin(char *in, char *out){ - int i = 0, j = 0; + unsigned int i = 0, j = 0; while(i<strlen(in)){ if(!strncmp(in+i, "/cygdrive/", 10)){ @@ -218,7 +218,7 @@ void SystemCall(char *command){ char copy[strlen(command)+1]; decygwin(command, copy); - Msg(INFO, "Calling \"%s\"", copy); + Msg(INFO, "Calling '%s'", copy); CreateProcess(NULL, copy, NULL, NULL, FALSE, NORMAL_PRIORITY_CLASS, NULL, NULL, &suInfo, &prInfo); @@ -227,7 +227,7 @@ void SystemCall(char *command){ Msg(GERROR, "Could not find /bin/sh: aborting system call"); return; } - Msg(INFO, "Calling \"%s\"", command); + Msg(INFO, "Calling '%s'", command); system(command); #endif }