call system in test cases?

FX Coudert Francois-Xavier.Coudert@lcp.u-psud.fr
Sun Jan 16 21:48:00 GMT 2005


> What is the best way to go about this?  Currently, I use
> call system("touch foo.bar; chmod u-w foo.bar").  Is there
> anything more elegant or portable?

If I am not mistaken, there is a chmod intrinsic function in g77, but I 
think it is not implemented yet in gfortran.

-- 
FX



More information about the Fortran mailing list