aboutsummaryrefslogtreecommitdiff
path: root/mp3fileout~.c
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-17 23:15:09 +0000
committerIOhannes m zmölnig <zmoelnig@iem.at>2015-10-14 15:23:30 +0200
commit6bf58497fe25026cb7adcdf1a408f24c8ba955e5 (patch)
tree7efefc8281acb05d45b2bb9ffaec674deb4246a2 /mp3fileout~.c
parent3597f35314d4d5f1974c9236dcc427bca5adab7e (diff)
replace POSIX fopen() with Pd's new sys_fopen() to get cross-platform unicode filename support (Pd-extended 0.43.4/Pd-vanilla 0.44)
svn path=/trunk/externals/unauthorized/; revision=16902
Diffstat (limited to 'mp3fileout~.c')
-rw-r--r--mp3fileout~.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mp3fileout~.c b/mp3fileout~.c
index 87ff56d..69e76fa 100644
--- a/mp3fileout~.c
+++ b/mp3fileout~.c
@@ -397,7 +397,7 @@ static void mp3fileout_open(t_mp3fileout *x, t_symbol *filename)
outlet_float( x->x_frames, x->x_outframes );
}
- if ( ( x->x_fd = open( filename->s_name, O_RDONLY ) ) < 0 )
+ if ( ( x->x_fd = sys_open( filename->s_name, O_RDONLY ) ) < 0 )
{
post( "mp3fileout~ : could not open file : %s", filename->s_name );
perror( "open" );