- Fixed a bug with hlist -val

This commit is contained in:
koennecke
2008-03-05 09:50:32 +00:00
parent fb3158ac98
commit d97d05cc1c
6 changed files with 87 additions and 4 deletions

View File

@ -1068,11 +1068,14 @@ static int printBuffer(pExeMan self, SConnection *pCon,
DeleteDynString(filePath);
return 0;
}
DeleteDynString(filePath);
SCStartBuffering(pCon);
while(fgets(pLine,511,fd) != NULL){
SCWrite(pCon,pLine,eValue);
}
fclose(fd);
DeleteDynString(filePath);
filePath = SCEndBuffering(pCon);
SCWrite(pCon,GetCharArray(filePath),eValue);
return 1;
}
/*========================== run stack ===============================*/