diff options
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/d_soundfile.c')
-rw-r--r-- | apps/plugins/pdbox/PDa/src/d_soundfile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/pdbox/PDa/src/d_soundfile.c b/apps/plugins/pdbox/PDa/src/d_soundfile.c index c8016ff302..9aea9ca8f4 100644 --- a/apps/plugins/pdbox/PDa/src/d_soundfile.c +++ b/apps/plugins/pdbox/PDa/src/d_soundfile.c | |||
@@ -727,11 +727,7 @@ static int create_soundfile(t_canvas *canvas, const char *filename, | |||
727 | 727 | ||
728 | canvas_makefilename(canvas, filenamebuf, buf2, MAXPDSTRING); | 728 | canvas_makefilename(canvas, filenamebuf, buf2, MAXPDSTRING); |
729 | sys_bashfilename(buf2, buf2); | 729 | sys_bashfilename(buf2, buf2); |
730 | #ifdef ROCKBOX | ||
731 | if ((fd = open(buf2, BINCREATE)) < 0) | ||
732 | #else | ||
733 | if ((fd = open(buf2, BINCREATE, 0666)) < 0) | 730 | if ((fd = open(buf2, BINCREATE, 0666)) < 0) |
734 | #endif | ||
735 | return (-1); | 731 | return (-1); |
736 | 732 | ||
737 | if (write(fd, headerbuf, headersize) < headersize) | 733 | if (write(fd, headerbuf, headersize) < headersize) |