From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4ae64569d850ad11 X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,4ae64569d850ad11 X-Google-Attributes: gidfee84,public From: lionel@quark.enet.dec.com (Steve Lionel) Subject: Re: forrtl ignores errors from "write(unit,*)" Date: 1996/02/05 Message-ID: <4f5cm9$msv@zk2nws.zko.dec.com>#1/1 X-Deja-AN: 138262908 distribution: world references: organization: Digital Equipment Corporation, Nashua NH reply-to: lionel@quark.enet.dec.com (Steve Lionel) newsgroups: comp.unix.osf.osf1,comp.sys.dec In article , sysmark@helios.physics.utoronto.ca (Mark Bartelt) writes: |>Is the following a bug, misfeature, or intentional design decision? |>Here are three trivial Fortran programs: [snip] |> |>Suppose, for example, the write() fails because a filesystem is full. |>With the first program, the Fortran runtime system catches the error, |>and aborts as one would hope: |> |>/home: write failed, file system is full |>forrtl: No space left on device |>forrtl: severe (38): error during write, unit 1, file /home/sysmark/foo.bar |> |>But in the third example, the program loops forever, emitting zillions |>of "/home: write failed, file system is full" messages. |> |>Oughtn't an error in a "write(unit,*)" statement, where no "err=" has |>been specified, cause an abort in the same manner as "write(unit,fmt)" |>does? Yes, it should. We recently identified a bug in the RTL that causes this behavior - expect to see it corrected in the RTL that ships with the next version of DEC Fortran. -- Steve Lionel Mail: lionel@quark.enet.dec.com Fortran Development WWW: http://www.digital.com/info/slionel.html Digital Equipment Corporation CompuServe: 75263,3001 110 Spit Brook Road, ZKO2-3/N30 Nashua, NH 03062-2698 "Free advice is worth every cent" For information on Digital Fortran 90, see http://www.digital.com/info/hpc/f90/