This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: bug fc003
On Tue, Mar 29, 2005 at 01:09:08AM +0200, Tobias Schl?ter wrote:
> Paul Brook wrote:
> > IIUC we already know that we're dealing with a file, so why does changing
> > unlink to remove make any difference?
> >
> > Is cygwin unlink borken?
>
> OK, let me rephrase. First, I don't know what platform (cygwin or mingw) Walt
> uses, but I do know that this test doesn't work for him. Second, unlike
> unlink, remove is ISO C, so it seemed to me that this would be something to
> try. I don't know if it makes any difference: I said that I couldn't test it,
> but it seemed to be the only place where a system dependency can come into play.
>
I think Tobi may be right. I checked
http://cygwin.com/cygwin-api/cygwin-api.html
and remove() is listed as supported through
stdio.h. On FreeBSD unlink() is declared
in unistd.h, and cygwin appears to by missing
this header.
FX or Paul T., can you build gfortran on
cygwin with Tobi's patch?
--
Steve