Hans Dedecker
|
021fd65643
file: remove unnecessary uci_fixup_section calls
|
6 years ago |
Yousong Zhou
|
c4df32b386
file: remove redundant NULL check on return value of uci_realloc()
|
7 years ago |
Michal 'vorner' Vaner
|
49ec6efbda
Fix skipping directories in uci_list_config_files
|
7 years ago |
Felix Fietkau
|
c203c2f900
Revert "mandatory anonymous section identifier"
|
7 years ago |
Antonio Paunovic
|
df72af4740
mandatory anonymous section identifier
|
7 years ago |
Jo-Philipp Wich
|
ec96e1f93d
file: write through symlinks on uci commit
|
8 years ago |
Jo-Philipp Wich
|
593e6c90b7
file: raise parse error on conflicting section types in strict mode
|
8 years ago |
Felix Fietkau
|
950437eecd
file: defer checking the tmpfile until it is actually needed.
|
8 years ago |
Felix Fietkau
|
2cd94fd505
file: remove unnecessary sync() call
|
8 years ago |
Yousong Zhou
|
4b52bdbdbe
file.c: lift the 4096 bytes line length limit.
|
9 years ago |
Yousong Zhou
|
556215152a
file: reset parsing position on starting over a newline.
|
9 years ago |
Felix Fietkau
|
e66c20610e
allow "-" in package names
|
9 years ago |
Yousong Zhou
|
8aaed0dcd6
delta: preprocess delta line with uci_parse_argument().
|
9 years ago |
Yousong Zhou
|
69d1b47b26
file: fix error string about "unterminated XXX".
|
9 years ago |
Yousong Zhou
|
def58eba24
file: fix EOF check.
|
9 years ago |
Yousong Zhou
|
61657246a9
file: fix use-after-free bug.
|
9 years ago |
Yousong Zhou
|
9167f11f00
Fix a few style issues.
|
9 years ago |
Felix Fietkau
|
b342283d2d
fix a few formatting issues
|
9 years ago |
Yousong Zhou
|
f8f9decc54
Use offset into parser buffer to avoid potential heap overflow.
|
9 years ago |
Jo-Philipp Wich
|
e339407372
Preserve original permissions when rewriting config files on commit
|
10 years ago |
Alexander Couzens
|
31d4b691d9
fix `uci import` with not yet existing packages
|
10 years ago |
Felix Fietkau
|
c1f1ec3514
file: add missing return code check for mktemp()
|
10 years ago |
Felix Fietkau
|
376fdc74c7
file: fix memleak on mktemp() errors
|
10 years ago |
Luka Perkov
|
87be3798a9
style: free(NULL) is perfectly valid so we can drop some checks
|
10 years ago |
Luka Perkov
|
42429219a9
file: make uci commits atomic
|
10 years ago |
Krzysztof Kuznik
|
6c71e7ee00
uci: libuci leaking memory on non-existent config file
|
11 years ago |
Jo-Philipp Wich
|
28608b5321
ignore trailing carriage returns in file parser
|
11 years ago |
Jo-Philipp Wich
|
d3722382bd
Do quote section names to keep the same style as option values
|
12 years ago |
Jo-Philipp Wich
|
bddae56bac
Section names, option names, list names can only be identifiers, so they don't need to be quoted.
|
12 years ago |
Felix Fietkau
|
9d7dd37590
fix segfault on import of anonymous sections
|
12 years ago |