This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libfortran/31335] Calls lstat(), stat() and fstat() in libgfortran should be protected by autoconf HAVE_{L,,F}STAT macros



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]