Skip to content

Commit 722e4ae

Browse files
committed
MAINT: Explicitly replace instead of unknown
1 parent a6b7751 commit 722e4ae

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/cblat3_3m.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ PROGRAM CBLAT3
104104
*
105105
READ( NIN, FMT = * )SUMMRY
106106
READ( NIN, FMT = * )NOUT
107-
OPEN( NOUT, FILE = SUMMRY, STATUS = 'UNKNOWN' )
107+
OPEN( NOUT, FILE = SUMMRY, STATUS = 'REPLACE' )
108108
NOUTC = NOUT
109109
*
110110
* Read name and unit number for snapshot output file and open file.
@@ -113,7 +113,7 @@ PROGRAM CBLAT3
113113
READ( NIN, FMT = * )NTRA
114114
TRACE = NTRA.GE.0
115115
IF( TRACE )THEN
116-
OPEN( NTRA, FILE = SNAPS, STATUS = 'UNKNOWN' )
116+
OPEN( NTRA, FILE = SNAPS, STATUS = 'REPLACE' )
117117
END IF
118118
* Read the flag that directs rewinding of the snapshot file.
119119
READ( NIN, FMT = * )REWI

test/zblat3_3m.f

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ PROGRAM ZBLAT3
105105
*
106106
READ( NIN, FMT = * )SUMMRY
107107
READ( NIN, FMT = * )NOUT
108-
OPEN( NOUT, FILE = SUMMRY, STATUS = 'UNKNOWN' )
108+
OPEN( NOUT, FILE = SUMMRY, STATUS = 'REPLACE' )
109109
NOUTC = NOUT
110110
*
111111
* Read name and unit number for snapshot output file and open file.
@@ -114,7 +114,7 @@ PROGRAM ZBLAT3
114114
READ( NIN, FMT = * )NTRA
115115
TRACE = NTRA.GE.0
116116
IF( TRACE )THEN
117-
OPEN( NTRA, FILE = SNAPS, STATUS = 'UNKNOWN' )
117+
OPEN( NTRA, FILE = SNAPS, STATUS = 'REPLACE' )
118118
END IF
119119
* Read the flag that directs rewinding of the snapshot file.
120120
READ( NIN, FMT = * )REWI

0 commit comments

Comments
 (0)