summaryrefslogtreecommitdiffstats
path: root/src/storage.c
AgeCommit message (Collapse)AuthorFilesLines
2011-10-10core: Update copyright informationMarcel Holtmann1-1/+1
2010-08-05storage: make write_file transaction-safeInaky Perez-Gonzalez1-11/+36
write_file(), as written wasn't transaction-safe; a crash bewtween a file being open and the buffer being written before a safe close would leave the file with a set of undetermined contents. Modified to the file is written to a temporary file name; once completed, it is renamed to the final name. This way, a crash in the middle doesn't leave half-baked files.
2010-06-21storage: whitespace issueDenis Kenzior1-1/+1
2010-03-16Refactor: create_dirs logicDenis Kenzior1-8/+17
- Remove reference to g_malloc and replace with g_try_malloc - Be extra pedantic on the inputs - Refactor the logic to make it slightly easier to follow
2010-01-01Update copyright informationMarcel Holtmann1-1/+1
2009-10-30Fix: Quiet compiler warningsDenis Kenzior1-3/+0
2009-10-30Add utilities for settings managementDenis Kenzior1-0/+62
2009-10-30Fix: Remove unused header includeDenis Kenzior1-1/+0
2009-10-30Fix: style issuesDenis Kenzior1-2/+4
2009-09-08Move create_dirs to storage.c, add file read/write utilitiesAndrzej Zaborowski1-0/+125