projects
/
project
/
uci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
free the history on package unload
[project/uci.git]
/
file.c
diff --git
a/file.c
b/file.c
index
cb76d97
..
47d9c44
100644
(file)
--- a/
file.c
+++ b/
file.c
@@
-545,7
+545,7
@@
static FILE *uci_open_stream(struct uci_context *ctx, const char *filename, int
UCI_THROW(ctx, UCI_ERR_NOTFOUND);
}
- fd = open(filename, (write ? O_RDWR | O_CREAT : O_RDONLY));
+ fd = open(filename, (write ? O_RDWR | O_CREAT : O_RDONLY)
, UCI_FILEMODE
);
if (fd <= 0)
goto error;