diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 03:50:21 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2013-01-22 03:50:21 +0000 |
commit | 3a2b731f277637595729a8ee74c41905efddbbc7 (patch) | |
tree | f3c3b07fadf353c59a63b85d7e0925b6d3374fc8 | |
parent | 37af4b575209066fff77c813efca56101c465c5d (diff) |
use new sys_open() to support unicode filenames on Win32HEADsvn2git-headexternals/moonlib
svn path=/trunk/externals/moonlib/; revision=16943
-rw-r--r-- | readsfv~.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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) |