------- Comment #4 from burnus at gcc dot gnu dot org 2008-11-15 10:42 ------- > It's not a bug in my program. It's a bug in NONMEM VI. That is, assuming that > /dev/tty and /dev/null are files, which they're not. They're devices. > Regardless, it's code that runs in an older version that doesn't run in a new > version. This problem will cause people to use the old version of the > compiler.
The problem with accessing the same file with different I/O units is that it quickly leads to race conditions; for /dev/null I don't see any problem, but for a normal, seekable file like "my_data_file.dat" this is different. See also: http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/bd22f289feb99d22/ -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38122