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 release-4-6 into master
[alexxy/gromacs.git]
/
src
/
gromacs
/
gmxlib
/
futil.c
diff --git
a/src/gromacs/gmxlib/futil.c
b/src/gromacs/gmxlib/futil.c
index b4c67c0f8a7042c149642cb47fc2dc5aac39e41d..b00e2887c8a93d36d3d16bd04371d33bf18751e5 100644
(file)
--- a/
src/gromacs/gmxlib/futil.c
+++ b/
src/gromacs/gmxlib/futil.c
@@
-337,11
+337,7
@@
static gmx_bool gmx_is_file(const char *fname)
{
int status;
struct stat st_buf;
- #ifdef HAVE_LSTAT
- status = lstat (fname, &st_buf);
- #else
- status = stat (fname, &st_buf);
- #endif
+ status = stat (fname, &st_buf);
if (status != 0 || !S_ISREG(st_buf.st_mode))
{
return FALSE;