indent: add patch needed for debug build
This commit is contained in:
parent
1973ef42db
commit
f492d15225
11
packages/indent/code_io.c.patch
Normal file
11
packages/indent/code_io.c.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- ../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)
|
||||
{
|
Loading…
Reference in New Issue
Block a user