- Reworked mesure for four circle to new specifications

* reworked table
  * added psd mode
- exe now allows absolute paths
- added getRS232Timeout to rs232controller
- Fixed a couple of "guessed" return values
This commit is contained in:
koennecke
2005-03-16 07:58:52 +00:00
parent 5cd7d30d62
commit b8fea0bc38
16 changed files with 331 additions and 2633 deletions

View File

@ -139,6 +139,18 @@ static pDynString locateBatchBuffer(pExeMan self, char *name){
return NULL;
}
/*
do not try to convert absolute paths
*/
if(name[0] == '/'){
DynStringCopy(result,name);
if(fileExists(GetCharArray(result))){
return result;
} else {
return NULL;
}
}
pPtr = self->batchPath;
while((pPtr = stptok(pPtr,pPath,131,":")) != NULL){
DynStringCopy(result,pPath);
@ -540,7 +552,8 @@ static int infoHandler(pExeMan self, SConnection *pCon,
return 1;
}
}
return 1; /* statement inserted, guessed return value M.Z. */
SCWrite(pCon,"Nothing to execute",eValue);
return 1;
} else {
strtolower(argv[2]);
if(strcmp(argv[2],"stack") == 0){
@ -554,7 +567,7 @@ static int infoHandler(pExeMan self, SConnection *pCon,
return 1;
} else {
SCWrite(pCon,"ERROR: subcommand to info unknown",eError);
return 0; /* statement inserted, guessed return value M.Z. */
return 0;
}
}
}