Using chmod fails under MinGW
Arjen Markus
arjen.markus@wldelft.nl
Fri Oct 3 08:50:00 GMT 2008
Brian Dessent wrote:
>The real problem is that the current implementatin of chmod in
>libgfortran is hardcoded to use fork() and exec() to invoke the external
>/bin/chmod, rather than system(). MinGW has no fork() nor is "/bin"
>likely to be meaningful there, so the implementation would need a
>rewrite in order to even compile for MinGW, let alone the problem of no
>external chmod binary likely to be available in the first place.
>
>
As Janne pointed out to me, the particular details of the implementation
are
described in the manual. Now, with an extra section on Windows (simply
more visible and more explicit on what does work), that would cover the
problem. No need to solve it in the way you describe ;). There are a lot
more
aspects to it than I first thought :).
Regards,
Arjen
More information about the Fortran
mailing list