diff options
author | epoch <epoch@enzo.thebackupbox.net> | 2021-01-24 12:37:40 -0600 |
---|---|---|
committer | epoch <epoch@enzo.thebackupbox.net> | 2021-01-24 12:37:40 -0600 |
commit | 511382af342d57d987aa29bbf0712712291a8399 (patch) | |
tree | 7a389c1bf23e283603d87f3e086f44c258e55073 /src | |
parent | e7c37c8195f22c6448897a0c2e867a158ac0bda7 (diff) | |
download | hackvr-511382af342d57d987aa29bbf0712712291a8399.tar.gz hackvr-511382af342d57d987aa29bbf0712712291a8399.zip |
forgot to put creation perms into open for svg output
Diffstat (limited to 'src')
-rw-r--r-- | src/graphics_cs_svg.c | 2 |
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); } |