git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5547 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -359,9 +359,8 @@ void Dump::openfile()
|
||||
filecurrent = new char[strlen(filename) + 16];
|
||||
char *ptr = strchr(filename,'*');
|
||||
*ptr = '\0';
|
||||
char fstr[16];
|
||||
sprintf(fstr,"%%s%s%%s",BIGINT_FORMAT);
|
||||
sprintf(filecurrent,fstr,filename,update->ntimestep,ptr+1);
|
||||
sprintf(filecurrent,"%s" BIGINT_FORMAT "%s",
|
||||
filename,update->ntimestep,ptr+1);
|
||||
*ptr = '*';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user