projects
/
unres.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adam's changes to wham and cluster following previous commit
[unres.git]
/
source
/
unres
/
src_CSA
/
compinfo.c
diff --git
a/source/unres/src_CSA/compinfo.c
b/source/unres/src_CSA/compinfo.c
index
c7eecbe
..
e28f686
100644
(file)
--- a/
source/unres/src_CSA/compinfo.c
+++ b/
source/unres/src_CSA/compinfo.c
@@
-28,7
+28,7
@@
uname(&Name);
time(&Tp);
system("whoami > tmptmp");
in1=fopen("tmptmp","r");
time(&Tp);
system("whoami > tmptmp");
in1=fopen("tmptmp","r");
-if (fscanf(in1,"%s",buf1) != NULL)
+if (fscanf(in1,"%s",buf1) != EOF)
{
p1=ctime(&Tp);
p1[strlen(p1)-1]='\0';
{
p1=ctime(&Tp);
p1[strlen(p1)-1]='\0';