[PD-dev] [ pure-data-Patches-1242459 ] [bonk~] reads and writes to / by default

SourceForge.net noreply at sourceforge.net
Tue Oct 16 15:04:19 CEST 2007


Patches item #1242459, was opened at 2005-07-21 19:29
Message generated for change (Comment added) made by zmoelnig
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1242459&group_id=55736

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: None
Status: Open
Resolution: None
>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: IOhannes m zmölnig (zmoelnig)
Date: 2007-10-16 15: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 zmölnig (zmoelnig)
Date: 2007-10-16 14: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&group_id=55736




More information about the Pd-dev mailing list