0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-13 03:00:31 +00:00
termux-packages/packages/indent/code_io.c.patch
2019-05-31 20:25:54 +02:00

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)
{