temp_buf_dump doesn't check return value of write

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

 



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@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer


[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