Felix Fietkau
|
950437eecd
file: defer checking the tmpfile until it is actually needed.
|
8 년 전 |
Felix Fietkau
|
2cd94fd505
file: remove unnecessary sync() call
|
9 년 전 |
Yousong Zhou
|
4b52bdbdbe
file.c: lift the 4096 bytes line length limit.
|
9 년 전 |
Yousong Zhou
|
556215152a
file: reset parsing position on starting over a newline.
|
9 년 전 |
Felix Fietkau
|
e66c20610e
allow "-" in package names
|
9 년 전 |
Yousong Zhou
|
8aaed0dcd6
delta: preprocess delta line with uci_parse_argument().
|
9 년 전 |
Yousong Zhou
|
69d1b47b26
file: fix error string about "unterminated XXX".
|
9 년 전 |
Yousong Zhou
|
def58eba24
file: fix EOF check.
|
9 년 전 |
Yousong Zhou
|
61657246a9
file: fix use-after-free bug.
|
9 년 전 |
Yousong Zhou
|
9167f11f00
Fix a few style issues.
|
9 년 전 |
Felix Fietkau
|
b342283d2d
fix a few formatting issues
|
9 년 전 |
Yousong Zhou
|
f8f9decc54
Use offset into parser buffer to avoid potential heap overflow.
|
10 년 전 |
Jo-Philipp Wich
|
e339407372
Preserve original permissions when rewriting config files on commit
|
10 년 전 |
Alexander Couzens
|
31d4b691d9
fix `uci import` with not yet existing packages
|
10 년 전 |
Felix Fietkau
|
c1f1ec3514
file: add missing return code check for mktemp()
|
11 년 전 |
Felix Fietkau
|
376fdc74c7
file: fix memleak on mktemp() errors
|
11 년 전 |
Luka Perkov
|
87be3798a9
style: free(NULL) is perfectly valid so we can drop some checks
|
11 년 전 |
Luka Perkov
|
42429219a9
file: make uci commits atomic
|
11 년 전 |
Krzysztof Kuznik
|
6c71e7ee00
uci: libuci leaking memory on non-existent config file
|
12 년 전 |
Jo-Philipp Wich
|
28608b5321
ignore trailing carriage returns in file parser
|
11 년 전 |
Jo-Philipp Wich
|
d3722382bd
Do quote section names to keep the same style as option values
|
12 년 전 |
Jo-Philipp Wich
|
bddae56bac
Section names, option names, list names can only be identifiers, so they don't need to be quoted.
|
12 년 전 |
Felix Fietkau
|
9d7dd37590
fix segfault on import of anonymous sections
|
13 년 전 |
Felix Fietkau
|
1d6095d5ac
add a few missing null pointer checks, and fix check vs dereference order in some cases (patch by Stanislav Fomichev)
|
13 년 전 |
Felix Fietkau
|
ef95525edc
check result of memory allocations (patch by Stanislav Fomichev)
|
13 년 전 |
Felix Fietkau
|
4a7d8053ae
fix lgpl license headers
|
13 년 전 |
Felix Fietkau
|
a46a89fc1f
make uci_file_commit() static
|
13 년 전 |
Felix Fietkau
|
ad70b02f42
remove the unused "complete" parameter for uci_fill_ptr()
|
14 년 전 |
Felix Fietkau
|
c4402a9e59
uci_history -> uci_delta
|
14 년 전 |
Felix Fietkau
|
6ce771b109
split off and compile file.c separately
|
14 년 전 |