- 16 May, 2014 2 commits
-
-
Windows has its own ftruncate() called _chsize_s(). p_mkstemp() is changed to use p_open() so we can make sure we open for writing; the addition of exclusive create is a good thing to do regardless, as we want a temporary path for ourselves. Lastly, MSVC doesn't quite know how to add two numbers if one of them is a void pointer, so let's alias it to unsigned char.C
Carlos Martín Nieto committed -
Philip Kelley committed
-
- 23 Apr, 2014 1 commit
-
-
Philip Kelley committed
-
- 22 Apr, 2014 1 commit
-
-
Edward Thomson committed
-
- 20 Apr, 2014 1 commit
-
-
Philip Kelley committed
-
- 27 Mar, 2014 1 commit
-
-
When a file is open for reading (without shared-delete permission), and then a different thread/process called p_rename, that would fail, even if the file was only open for reading for a few milliseconds. This change lets p_rename wait up to 50ms for the file to be closed by the reader. Applies only to win32. This is especially important for git_filebuf_commit, because writes should not fail if the file is read simultaneously. Fixes #2207
Jan Melcher committed
-
- 08 Oct, 2013 1 commit
-
-
This cleans up some additional issues. The main change is that on a filesystem that doesn't support mode bits, libgit2 will now create new blobs with GIT_FILEMODE_BLOB always instead of being at the mercy to the filesystem driver to report executable or not. This means that if "core.filemode" lies and claims that filemode is not supported, then we will ignore the executable bit from the filesystem. Previously we would have allowed it. This adds an option to the new git_repository_reset_filesystem to recurse through submodules if desired. There may be other types of APIs that would like a "recurse submodules" option, but this one is particularly useful. This also has a number of cleanups, etc., for related things including trying to give better error messages when problems come up from the filesystem. For example, the FAT filesystem driver on MacOS appears to return errno EINVAL if you attempt to write a filename with invalid UTF-8 in it. We try to capture that with a better error message now.
Russell Belfer committed
-
- 19 Aug, 2013 2 commits
-
-
p_inet_pton on Windows should set errno properly for callers. Rewrite p_inet_pton to handle error cases correctly and add test cases to exercise this function.
Edward Thomson committed -
We didn't use the added precision in gettimeofday, so remove it. This prevents us from having an unnecessary reimplementation on win32.
Edward Thomson committed
-
- 16 Aug, 2013 1 commit
-
-
Martin Woodward committed
-
- 13 Aug, 2013 4 commits
-
-
This is just a bunch of small fixes that I noticed while looking at the UTF8 and UTF16 path stuff. It fixes a slowdown in looking for an empty directory (not exiting loop asap), makes the dir name in the git__DIR structure be a GIT_FLEX_ARRAY to save an allocation, and fixes some slightly odd assumptions in the cl_getenv helper.
Russell Belfer committed -
Russell Belfer committed
-
Russell Belfer committed
-
Vicent Marti committed
-
- 08 Aug, 2013 2 commits
-
-
Ben Straub committed
-
Ben Straub committed
-
- 07 Aug, 2013 1 commit
-
-
...and normalize the signatures of the two conversion functions.
Ben Straub committed
-
- 05 Aug, 2013 1 commit
-
-
Also fixed up call-sites to use the correct buffer sizes, especially when converting to utf-8.
Ben Straub committed
-
- 25 Jun, 2013 1 commit
-
-
A junction has S_IFDIR | S_IFLNK set, however, only one makes sense. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Sven Strickroth committed
-
- 12 Jun, 2013 1 commit
-
-
This fixes problems with missing function prototypes and 64-bit data issues on Windows.
Russell Belfer committed
-
- 15 May, 2013 2 commits
- 04 May, 2013 1 commit
-
-
Edward Thomson committed
-
- 03 May, 2013 1 commit
-
-
Edward Thomson committed
-
- 28 Feb, 2013 2 commits
-
-
This fixes some snprintf and vsnprintf related deprecation warnings we've been having on Windows with recent compilers.
Russell Belfer committed -
Allows compilation in newer versions of MinGW that already defined it.
Vicent Marti committed
-
- 08 Feb, 2013 5 commits
-
-
Jameson Miller committed
-
Patrick Pokatilo committed
-
As requested
Patrick Pokatilo committed -
Patrick Pokatilo committed
-
Patrick Pokatilo committed
-
- 07 Feb, 2013 2 commits
-
-
Patrick Pokatilo committed
-
Patrick Pokatilo committed
-
- 08 Jan, 2013 1 commit
-
-
Edward Thomson committed
-
- 17 Dec, 2012 1 commit
-
-
nulltoken committed
-
- 27 Nov, 2012 2 commits
-
-
Russell Belfer committed
-
Ben Straub committed
-
- 20 Nov, 2012 3 commits
-
-
Eduardo Bart committed
-
Eduardo Bart committed
-
Eduardo Bart committed
-