Last active
August 29, 2015 14:16
-
-
Save zbeekman/bd69647eabdc9e87162b to your computer and use it in GitHub Desktop.
blind attempt at patching segfault for test 6 when using NAG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/src/json_module.f90 w/src/json_module.f90 | |
index 07aca92..1f704e1 100644 | |
--- i/src/json_module.f90 | |
+++ w/src/json_module.f90 | |
@@ -4285,6 +4285,7 @@ | |
![the line is read in chunks until the end of the line is reached] | |
if (istat==0) then | |
do | |
+ isize = 0 | |
read(iunit,fmt=nfmt,advance='NO',size=isize,iostat=istat) chunk | |
if (istat==0) then | |
line = line//chunk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment