From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29490 invoked by alias); 13 Apr 2007 19:56:44 -0000 Received: (qmail 29461 invoked by alias); 13 Apr 2007 19:56:33 -0000 Date: Fri, 13 Apr 2007 19:56:00 -0000 Message-ID: <20070413195633.29460.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug libfortran/31335] Calls lstat(), stat() and fstat() in libgfortran should be protected by autoconf HAVE_{L,,F}STAT macros In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "fxcoudert at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-04/txt/msg00959.txt.bz2 ------- 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