This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch,libgfortran] PR45723 opening /dev/null for appending writes fails


On Mon, Sep 20, 2010 at 07:54:11PM -0700, Jerry DeLisle wrote:
> Hi,
> 
> This patch is simple. Test case attached.
> 
> Regression tested on x86-64.
> 
> OK for trunk?
> 

Is the file size guaranteed to be 0 for all 
non-seekable files on all operating systems
supported by gfortran?  If someone is stupid
enough to open /dev/null for append, then
he should be prepared to suffer the consequence.

-- 
Steve


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]