Patches item #3303222, was opened at 2011-05-17 12:34 Message generated for change (Settings changed) made by zmoelnig You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3303222...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: puredata Group: bugfix Status: Open Resolution: None
Priority: 6
Private: No Submitted By: IOhannes m zmlnig (zmoelnig) Assigned to: Miller Puckette (millerpuckette) Summary: make sure patches get written to disk
Initial Comment: there is a very long standing (reported for pd-0.36cvs!) bug-report in debian (debian-bug#203288), claiming: <snip> pd: no error given when saving to a filesystem that is full
When trying to save to a filesystem that is full, a 0 byte file is written and no error is given. </snip>
with Pd-0.43, i get an error when saving too big patches on the filsystem in most cases (great), but some (e.g. creating a new empty patch, save that on the full fileystem) still reports everything as correct, even though only a 0 byte file gets written.
a simple solution (attached) is to call fflush() at the end of binbuf_write() and check it's return value for success.
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=3303222...