From 511382af342d57d987aa29bbf0712712291a8399 Mon Sep 17 00:00:00 2001 From: epoch Date: Sun, 24 Jan 2021 12:37:40 -0600 Subject: forgot to put creation perms into open for svg output --- src/graphics_cs_svg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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,"\n\n"); strcat(svg_global.backbuffer,"\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); } -- cgit v1.2.3