summaryrefslogtreecommitdiff
path: root/tools/save.h
Commit message (Collapse)AuthorAgeFilesLines
* extract: Allow p11_save_write() to automatically calculate lengthStef Walter2013-03-151-2/+2
| | | | | | | | | Also if automatically calculating length, then ignore input that is NULL, as something that shouldn't be written out. This allows easier chaining of optional output, such as comments. https://bugs.freedesktop.org/show_bug.cgi?id=62029
* Windows doesn't support symlinks, chmod, or atomic renamesStef Walter2013-03-031-0/+4
| | | | | | | * Don't create symlinks on windows * No atomic renames, so delete and then rename * Make sure to close files before unlinking on windows * No chmod permissions on windows
* Support for sane writing to files extractedStef Walter2013-02-051-0/+79
* Implement atomic writes of files * Writing with checks that not overwriting anything unless desired * Writing and overwriting of directory contents in a robust way