Commit 2784e336 authored by Jonathan Wilkes's avatar Jonathan Wilkes

Merge branch 'writesf-open-fix'

parents dbb1f2a9 672a79d7
......@@ -864,7 +864,7 @@ static int create_soundfile(t_canvas *canvas, const char *filename,
canvas_makefilename(canvas, filenamebuf, buf2, FILENAME_MAX);
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)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment