diff options
author | Etienne Samson <samson.etienne@gmail.com> | 2019-01-30 02:14:11 +0100 |
---|---|---|
committer | Etienne Samson <samson.etienne@gmail.com> | 2019-01-30 02:14:11 +0100 |
commit | 4e3949b73e2dfcc0dfe29c1f39c813769772d44f (patch) | |
tree | eb15d778f69f21a0ecf4d5121b48b2a42f9ef1c2 /src/win32 | |
parent | cf14215deda8fa8ec0da7567e15f0acb8035d162 (diff) | |
download | libgit2-4e3949b73e2dfcc0dfe29c1f39c813769772d44f.tar.gz |
tests: test that largefiles can be read through the tree API
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/posix_w32.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/win32/posix_w32.c b/src/win32/posix_w32.c index d8bbebb5d..835804de4 100644 --- a/src/win32/posix_w32.c +++ b/src/win32/posix_w32.c @@ -516,6 +516,12 @@ int p_creat(const char *path, mode_t mode) return p_open(path, O_WRONLY | O_CREAT | O_TRUNC, mode); } +int p_fallocate(int fd, off_t offset, off_t len) +{ + error = ENOSYS; + return -1; +} + int p_utimes(const char *path, const struct p_timeval times[2]) { git_win32_path wpath; |