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: Why is chmod in libgfortran implemented as fork/exec?


It may be a dump question. Why does libgfortran implement chmod intrinsic
with fork/exec? Why can't it call chmod () directly?


Because if we called chmod(), we have to translate symbolic modes into absolute ones, so I went for the easy option. Patches changing this behaviour are of course welcome.

FX

--
François-Xavier Coudert
http://www.homepages.ucl.ac.uk/~uccafco/


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