- New napi5.c with fix for deep group linking problem

- New file name scheme implemented


SKIPPED:
	psi/amorscan.c
This commit is contained in:
cvs
2004-01-14 15:01:10 +00:00
parent 0fb0458341
commit 7780648e8a
9 changed files with 27 additions and 61 deletions

View File

@@ -64,7 +64,7 @@ char *makeFilename(SicsInterp *pSics, SConnection *pCon) {
/* find length */
iLen = strlen(pPath->text) + 4; /* extra 4 for dir number */
iLen += strlen(pPref->text);
iLen += 8; /* for number + year */
iLen += 9; /* for number + year */
iLen += strlen(pEnd->text);
iLen += 10; /* safety margin */
@@ -106,10 +106,11 @@ char *makeFilename(SicsInterp *pSics, SConnection *pCon) {
*/
strcat(pRes,"/");
strcat(pRes,pPref->text);
sprintf(pNumText,"%5.5d",iNum);
strcat(pRes,pNumText);
sprintf(pNumText,"%4.4d",iYear);
strcat(pRes,pNumText);
strcat(pRes,"n");
sprintf(pNumText,"%5.5d",iNum);
strcat(pRes,pNumText);
strcat(pRes,pEnd->text);
return pRes;