termux-packages/packages/indent/code_io.c.patch

12 lines
330 B
Diff

--- ../code_io.c.orig 2019-05-30 20:55:54.216630725 +0200
+++ ./src/code_io.c 2019-05-30 20:55:57.723297366 +0200
@@ -210,7 +210,7 @@
#endif
unsigned int namelen = strlen(filename);
- int fd = open(filename, O_RDONLY, 0777);
+ int fd = open(filename, O_RDONLY);
if (fd < 0)
{