git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@10273 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2013-07-22 22:27:57 +00:00
parent e3bc276ce6
commit 580bffefea
4 changed files with 10 additions and 9 deletions

View File

@ -200,7 +200,7 @@ void Input::file()
// execute the command
if (execute_command()) {
char str[maxline+32];
char *str = new char[maxline+32];
sprintf(str,"Unknown command: %s",line);
error->all(FLERR,str);
}
@ -266,7 +266,7 @@ char *Input::one(const char *single)
// execute the command and return its name
if (execute_command()) {
char str[maxline+32];
char *str = new char[maxline+32];
sprintf(str,"Unknown command: %s",line);
error->all(FLERR,str);
}