Just a simple and obvious fix.  temp_buf_dump does a write to a file
without check the return value, so if a signal comes, or for some other
reason the whole file isn't written, then the routine erroneously
returns without finishing the write.  I added code to check the return
value of write and do the right thing.  I attached a patch against trunk
to the bug report.

https://bugzilla.gnome.org/show_bug.cgi?id=657129

Another in my attempt to get my feet wet and figure out the tree by
fixing warnings.

Patrick
_______________________________________________
Gimp-developer mailing list
Gimp-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

Reply via email to