From 6bf58497fe25026cb7adcdf1a408f24c8ba955e5 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Thu, 17 Jan 2013 23:15:09 +0000 Subject: 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 --- mp3fileout~.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mp3fileout~.c') 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" ); -- cgit v1.2.1