Re: [Gimp-developer] List of changes for the future 1.2.4 release

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20 Dec 2002, Sven Neumann wrote:

> Hi,
>
> Raphaël Quinet <quinet@xxxxxxxxxx> writes:
>
> > > Note that just checking write() or fwrite() return values may not be
> > > enough: some filesystems delay the error indictation until close() is
> > > called on the fd.  So this bug may well be influenced by the filesystem
> > > GIMP is writing to at the time.
> >
> > Yes, this is very important!  Checking only the return value of fwrite()
> > and ignoring the return value of close() is a recipe for disaster.  You
> > should also bear in mind that some filesystems (even the good old ext2)
> > may behave differently if quotas are enabled.
>
> please reopen the bug-report then.

No need; we check fclose()'s return value in both branches now.

Rockwalrus


[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux