diff options
Diffstat (limited to 'apps/plugins/sort.c')
| -rw-r--r-- | apps/plugins/sort.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/sort.c b/apps/plugins/sort.c index 2ae788e..05c45cc 100644 --- a/apps/plugins/sort.c +++ b/apps/plugins/sort.c @@ -147,7 +147,7 @@ static int write_file(void) if (bomsize) fd = rb->open_utf8(tmpfilename, O_WRONLY|O_CREAT|O_TRUNC); else - fd = rb->open(tmpfilename, O_WRONLY|O_CREAT|O_TRUNC); + fd = rb->open(tmpfilename, O_WRONLY|O_CREAT|O_TRUNC, 0666); if(fd < 0) return 10 * fd - 1; |