aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 03:50:21 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2013-01-22 03:50:21 +0000
commit3a2b731f277637595729a8ee74c41905efddbbc7 (patch)
treef3c3b07fadf353c59a63b85d7e0925b6d3374fc8
parent37af4b575209066fff77c813efca56101c465c5d (diff)
use new sys_open() to support unicode filenames on Win32HEADsvn2git-headexternals/moonlib
svn path=/trunk/externals/moonlib/; revision=16943
-rw-r--r--readsfv~.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/readsfv~.c b/readsfv~.c
index e3248ac..965df86 100644
--- a/readsfv~.c
+++ b/readsfv~.c
@@ -522,8 +522,7 @@ static int create_soundfile2(t_canvas *canvas, const char *filename,
}
canvas_makefilename(canvas, filenamebuf, buf2, MAXPDSTRING);
- sys_bashfilename(buf2, buf2);
- if ((fd = open(buf2, BINCREATE, 0666)) < 0)
+ if ((fd = sys_open(buf2, BINCREATE, 0666)) < 0)
return (-1);
if (write(fd, headerbuf, headersize) < headersize)