summaryrefslogtreecommitdiff
path: root/file.c
Commit message (Expand)AuthorAgeFilesLines
* iron out all extra compiler warningsPetr Štetiar2019-11-141-2/+3
* build: Add -Wclobbered to detect problems with longjmpHauke Mehrtens2019-11-081-5/+6
* uci/file: replace mktemp() with mkstemp()Maxim Gorbachyov2019-09-011-8/+11
* file: remove unnecessary uci_fixup_section callsHans Dedecker2017-12-221-2/+0
* file: remove redundant NULL check on return value of uci_realloc()Yousong Zhou2017-04-121-2/+0
* Fix skipping directories in uci_list_config_filesMichal 'vorner' Vaner2016-11-231-5/+9
* Revert "mandatory anonymous section identifier"Felix Fietkau2016-11-231-26/+5
* mandatory anonymous section identifierAntonio Paunovic2016-10-061-5/+26
* file: write through symlinks on uci commitJo-Philipp Wich2016-03-311-3/+7
* file: raise parse error on conflicting section types in strict modeJo-Philipp Wich2016-01-251-1/+6
* file: defer checking the tmpfile until it is actually needed.Felix Fietkau2016-01-111-11/+11
* file: remove unnecessary sync() callFelix Fietkau2015-08-271-1/+0
* file.c: lift the 4096 bytes line length limit.Yousong Zhou2015-05-251-4/+2
* file: reset parsing position on starting over a newline.Yousong Zhou2015-04-091-2/+3
* allow "-" in package namesFelix Fietkau2014-12-181-9/+9
* delta: preprocess delta line with uci_parse_argument().Yousong Zhou2014-12-181-6/+1
* file: fix error string about "unterminated XXX".Yousong Zhou2014-12-181-3/+1
* file: fix EOF check.Yousong Zhou2014-12-181-2/+2
* file: fix use-after-free bug.Yousong Zhou2014-12-181-12/+29
* Fix a few style issues.Yousong Zhou2014-12-181-1/+1
* fix a few formatting issuesFelix Fietkau2014-11-251-7/+7
* Use offset into parser buffer to avoid potential heap overflow.Yousong Zhou2014-11-251-96/+120
* Preserve original permissions when rewriting config files on commitJo-Philipp Wich2014-04-111-3/+3
* fix `uci import` with not yet existing packagesAlexander Couzens2014-04-011-1/+1
* file: add missing return code check for mktemp()Felix Fietkau2013-10-241-1/+3
* file: fix memleak on mktemp() errorsFelix Fietkau2013-10-241-1/+3
* style: free(NULL) is perfectly valid so we can drop some checksLuka Perkov2013-10-151-4/+2
* file: make uci commits atomicLuka Perkov2013-10-151-15/+39
* uci: libuci leaking memory on non-existent config fileKrzysztof Kuznik2013-04-221-2/+4
* ignore trailing carriage returns in file parserJo-Philipp Wich2013-03-051-1/+4
* Do quote section names to keep the same style as option valuesJo-Philipp Wich2012-02-241-1/+1
* Section names, option names, list names can only be identifiers, so they don'...Jo-Philipp Wich2012-02-241-5/+5
* fix segfault on import of anonymous sectionsFelix Fietkau2011-10-211-1/+1
* add a few missing null pointer checks, and fix check vs dereference order in ...Felix Fietkau2011-10-211-1/+1
* check result of memory allocations (patch by Stanislav Fomichev)Felix Fietkau2011-10-211-1/+4
* fix lgpl license headersFelix Fietkau2011-08-311-1/+1
* make uci_file_commit() staticFelix Fietkau2010-12-281-1/+1
* remove the unused "complete" parameter for uci_fill_ptr()Felix Fietkau2010-08-211-5/+3
* uci_history -> uci_deltaFelix Fietkau2010-08-201-9/+9
* split off and compile file.c separatelyFelix Fietkau2010-08-201-4/+280
* Fix memory leak in uci_list_config_filesJustin Bronder2009-12-011-1/+3
* fix a null pointer deref in uci_file_commit when overwriting history dataFelix Fietkau2009-09-041-8/+4
* fix compilation on later glibc/gcc versions with stricter checksFelix Fietkau2009-02-231-1/+2
* fix memory leak reported in https://dev.openwrt.org/ticket/4236Felix Fietkau2008-11-251-0/+1
* overhaul package and section type validation - makes it easier to read and fi...Felix Fietkau2008-09-051-4/+4
* clean up uci_setFelix Fietkau2008-08-221-34/+29
* more cleanupFelix Fietkau2008-08-221-13/+2
* code cleanup, some api changes for new uci_ptr structFelix Fietkau2008-08-221-21/+9
* fix list parsing with anonymous sectionsFelix Fietkau2008-08-181-2/+14
* add list supportFelix Fietkau2008-08-181-2/+42