summaryrefslogtreecommitdiff
path: root/src/unix
Commit message (Collapse)AuthorAgeFilesLines
...
* | fileops: CleanupVicent Marti2011-07-052-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cleaned up the structure of the whole OS-abstraction layer. fileops.c now contains a set of utility methods for file management used by the library. These are abstractions on top of the original POSIX calls. There's a new file called `posix.c` that contains emulations/reimplementations of all the POSIX calls the library uses. These are prefixed with `p_`. There's a specific posix file for each platform (win32 and unix). All the path-related methods have been moved from `utils.c` to `path.c` and have their own prefix.
* | build: Move OS-specific compat to their own foldersVicent Marti2011-07-031-0/+64
| |
* | build: Simplify build structureVicent Marti2011-07-011-61/+0
|/ | | | This will make libgit2 more suitable for embedding.
* unix/map.c: Move to new error handling mechanismJakob Pfender2011-05-231-5/+5
|
* Revised platform types to use 'best supported' size.Alex Budovski2011-01-111-1/+1
| | | | | This will allow graceful migration to 64 bit file sizes and timestamps should git's binary interface be extended to allow this.
* Remove git_errnoVicent Marti2010-12-231-1/+1
| | | | | | | | | It was not being used by any methods (only by malloc and calloc), and since it needs to be TLS, it cannot be exported on DLLs on Windows. Burn it with fire. The API always returns error codes! Signed-off-by: Vicent Marti <tanoku@gmail.com>
* win32: Add routines to abstract memory-mapped file functionsRamsay Jones2009-03-201-0/+61
In particular, the git__mmap() and git__munmap() routines provide the interface to platform specific memory-mapped file facilities. We provide implementations for unix and win32, which can be found in their own sub-directories. Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>