summaryrefslogtreecommitdiff
path: root/tools/tests/test.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Open files in binary mode on windowsStef Walter2013-03-031-6/+5
| | | | So that the Windows' C library doesn't munge line endings
* Abstract mmap() into a compat APIStef Walter2013-03-031-0/+2
| | | | | The Win32 for mmap() is very different from Unix, so abstract this into our own p11_mmap_xxx() functions.
* Support for sane writing to files extractedStef Walter2013-02-051-0/+200
* Implement atomic writes of files * Writing with checks that not overwriting anything unless desired * Writing and overwriting of directory contents in a robust way