]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - LHAPDF/lhapdf5.5.1/src/LHpdflib.f
Fix for report #67958: Fortran's open call should open explicitly for read-only
[u/mrichter/AliRoot.git] / LHAPDF / lhapdf5.5.1 / src / LHpdflib.f
index 52c031e84853b5853092fda14c650779183fdc91..4ce9165d84f5e945a491efa67f7a4167de5f8d9b 100644 (file)
@@ -103,7 +103,7 @@ subroutine InitPDFsetM(nset,setpath)
   endif
   
   call setnset(nset)
-  open(unit=1,file=setpath,status='old')
+  open(unit=1,file=setpath,status='old',action='read')
   read(1,*) s1,s2
   if ((    index(s2,'1.0').ne.1) &
      .and.(index(s2,'1.1').ne.1) &