PSI sics-cvs-psi-2006

This commit is contained in:
2006-05-08 02:00:00 +00:00
committed by Douglas Clowes
parent ae77364de2
commit 6e926b813f
388 changed files with 445529 additions and 14109 deletions

6
help.c
View File

@@ -21,14 +21,11 @@ static char *helpDirs = NULL;
static char *defaultFile="master.txt";
/*----------------------------------------------------------------------*/
void KillHelp(void *pData){
KillDummy(pData);
if(helpDirs != NULL){
free(helpDirs);
helpDirs = NULL;
}
if(defaultFile != NULL){
free(defaultFile);
defaultFile = NULL;
}
}
/*-----------------------------------------------------------------------*/
static FILE *findHelpFile(char *name){
@@ -149,4 +146,5 @@ int SicsHelp(SConnection *pCon,SicsInterp *pSics, void *pData,
}
printHelpFile(pCon,fd);
fclose(fd);
return 1;
}