Patches item #1242459, was opened at 2005-07-21 13:29 Message generated for change (Comment added) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1242459...
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: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: Hans-Christoph Steiner (eighthave) Assigned to: Miller Puckette (millerpuckette) Summary: [bonk~] reads and writes to / by default
Initial Comment:
When reading and writing files with [bonk~], it defaults to / if no directory is specified. [qlist] and [textfile] default to the current directory of the patch. This seems to me to be the correct behavior.
To see this bug in action, save the attached patch to /tmp and open it.
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave)
Date: 2010-08-16 23:31
Message: git commit e1cf337a89d9175ab6fd397b1b3dfa2e0afd52d6
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2007-10-16 09:04
Message: Logged In: YES user_id=564396 Originator: NO
however it might be that this my correct behaviour is specific to linux...
attached is a unified diff against bonk~.c that uses canvas_makefilename() for writing and canvas_open() for reading; this should behave exactly the same as qlist/textfile File Added: bonk~.diff
----------------------------------------------------------------------
Comment By: IOhannes m zmlnig (zmoelnig) Date: 2007-10-16 08:32
Message: Logged In: YES user_id=564396 Originator: NO
hmm, on pd-0.40 (linux), bonk~ correctly reads from/writes to the current directory.
can you confirm whether the bug still exists?
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1242459...