biod.pnpi.spb.ru
/
alexxy
/
gromacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge gromacs-4-6 into master
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxpreprocess
/
resall.c
diff --git
a/src/gromacs/gmxpreprocess/resall.c
b/src/gromacs/gmxpreprocess/resall.c
index d29b487b8236fe6fd65ffd69ecb6ca67e11f8808..b71b356b8bd674bba9b0f49aea0f03ead627a45e 100644
(file)
--- a/
src/gromacs/gmxpreprocess/resall.c
+++ b/
src/gromacs/gmxpreprocess/resall.c
@@
-82,7
+82,7
@@
gpp_atomtype_t read_atype(const char *ffdir,t_symtab *tab)
trim(buf);
}
}
- while (NULL!=buf && strlen(buf)==0);
+ while (
!feof(in) &&
NULL!=buf && strlen(buf)==0);
if ((buf != NULL) && (sscanf(buf,"%s%lf",name,&m) == 2))
{