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: UNMASK() intrinsic?


> Steve Kargl wrote: 
> > On Thu, Jan 04, 2007 at 05:34:15PM -0800, Brooks Moses wrote: 
> > > The intrinsic.texi documentation has an entry for an UNMASK() intrinsic, but has no documentation for it. 
> > > I can't find any trace of this intrinsic in intrinsic.c or iresolve.c. Am I missing something, or is this simply 
> > > a phantom that doesn't really exist? 
> > 
> > Is this suppose to be UMASK? 
> 
> That would be my best guess for where it came from, though there is also a documentation entry for UMASK. 
> Unless someone says that I'm missing something, I'll probably go ahead and delete the UNMASK entry in my 
> next intrinsics.texi patch.
> 
> - Brooks

Brooks,
have you tried 
      call umask('0444'O,oldmask)
      call system("umask")
      call umask('0333'O)
      call system("umask")
      call umask(oldmask,newmask)
      call system("umask")
and
      oldmask=umask('0444'O)
      call system("umask")
      newmask=umask(oldmask)
      call system("umask")

? Perhaps I'm completely confused, but for me this works with gfortran, 
exactly the same way as with g77 ?!

Manfred



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