[Bug libfortran/31335] Calls lstat(), stat() and fstat() in libgfortran should be protected by autoconf HAVE_{L,,F}STAT macros
fxcoudert at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 13 19:56:00 GMT 2007
------- Comment #5 from fxcoudert at gcc dot gnu dot org 2007-04-13 20:56 -------
Subject: Bug 31335
Author: fxcoudert
Date: Fri Apr 13 20:56:19 2007
New Revision: 123796
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=123796
Log:
PR libfortran/31335
* intrinsics/stat.c: Only provide STAT and FSTAT library routines
if stat() and fstat() library functions are available. When lstat()
is not available, use stat() instead.
* configure.ac: Add checks for stat, fstat and lstat.
* configure: Regenerate.
* config.h.in: Regenerate.
Modified:
branches/gcc-4_2-branch/libgfortran/ChangeLog
branches/gcc-4_2-branch/libgfortran/config.h.in
branches/gcc-4_2-branch/libgfortran/configure
branches/gcc-4_2-branch/libgfortran/configure.ac
branches/gcc-4_2-branch/libgfortran/intrinsics/stat.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31335
More information about the Gcc-bugs
mailing list