On 20 Dec 2002, Sven Neumann wrote:

> Hi,
>
> RaphaŽl Quinet <[EMAIL PROTECTED]> 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

_______________________________________________
Gimp-developer mailing list
[EMAIL PROTECTED]
http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-developer

Reply via email to