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: call system in test cases?


On Sun, Jan 16, 2005 at 10:48:47PM +0100, FX Coudert wrote:
> >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.
> 

You are correct.  Chmod was on my list of intrinsics to implement, but
I haven't found the time or desire to do so.

-- 
Steve


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