This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

Re: [Patch] Don't provide lstat gfortran intrinsic if target doesn't support lstat.


Sure that could be done. However, I think it is simpler just to test
for existence of of lstat without presuming that "LSTAT is formally the
same as STAT" on windows. gfortran should not be making such decisions
for any target.

I know that it's easier to test for the existence of lstat, and if lstat is not available, make the libgfortran LSTAT internally call stat instead.


FX


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