summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorepoch <epoch@enzo.thebackupbox.net>2021-01-24 12:37:40 -0600
committerepoch <epoch@enzo.thebackupbox.net>2021-01-24 12:37:40 -0600
commit511382af342d57d987aa29bbf0712712291a8399 (patch)
tree7a389c1bf23e283603d87f3e086f44c258e55073
parente7c37c8195f22c6448897a0c2e867a158ac0bda7 (diff)
downloadhackvr-511382af342d57d987aa29bbf0712712291a8399.tar.gz
hackvr-511382af342d57d987aa29bbf0712712291a8399.zip
forgot to put creation perms into open for svg output
-rw-r--r--src/graphics_cs_svg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/graphics_cs_svg.c b/src/graphics_cs_svg.c
index 9321dc1..210a1cf 100644
--- a/src/graphics_cs_svg.c
+++ b/src/graphics_cs_svg.c
@@ -215,7 +215,7 @@ void flipscreen() {
fprintf(stderr,"# flipping screen!\n");
// strcat(svg_global.backbuffer,"</svg>\n</xml>\n");
strcat(svg_global.backbuffer,"</svg></body></html>\n");
- int fd=open(svg_global.filename,O_TRUNC|O_WRONLY|O_CREAT);
+ int fd=open(svg_global.filename,O_TRUNC|O_WRONLY|O_CREAT,0644);
write(fd,svg_global.backbuffer,strlen(svg_global.backbuffer));
close(fd);
}