This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [gfortran] MinGW uses chsize instead of ftruncate
- From: FranÃois-Xavier Coudert <Francois-Xavier dot Coudert at lcp dot u-psud dot fr>
- To: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- Cc: gfortran <fortran at gcc dot gnu dot org>, patch <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 29 Apr 2005 17:18:33 +0200
- Subject: Re: [gfortran] MinGW uses chsize instead of ftruncate
- References: <4271F0C8.4050703@lcp.u-psud.fr> <20050429141003.GA49891@troutmask.apl.washington.edu>
This patch enables the libgfortran to be built using chsize instead of
ftruncate if the latter is not present in the system (which is the case of
MinGW).
Regtested on i386-linux and i386-mingw32. OK for mainline and 4.0?
Yes.
Commited.
FX