1. 12 Apr, 2017 1 commit
  2. 04 Apr, 2017 1 commit
    • fileops: do not overwrite correct error message on mmap · 9daba9f4
      When executing `git_futils_mmap_ro_file`, we first try to guess whether
      the file is mmapable at all. Part of this check is whether the file is
      too large to be mmaped, which can be true on systems with 32 bit
      `size_t` types.
      
      The check is performed by first getting the file size wtih
      `git_futils_filesize` and then checking whether the returned size can be
      represented as `size_t`, returning an error if so. While this test also
      catches the case where the function returned an error (as `-1` is not
      representable by `size_t`), we will set the misleading error message
      "file too large to mmap". But in fact, a negative return value from
      `git_futils_filesize` will be caused by the inability to fstat the file.
      
      Fix the error message by handling negative return values separately and
      not overwriting the error message in that case.
      Patrick Steinhardt committed
  3. 22 Mar, 2017 1 commit
  4. 09 Mar, 2017 1 commit
  5. 28 Feb, 2017 4 commits
  6. 17 Feb, 2017 2 commits
  7. 29 Dec, 2016 1 commit
  8. 14 Nov, 2016 1 commit
  9. 04 Aug, 2016 2 commits
  10. 25 Feb, 2016 1 commit
    • nsec: support NDK's crazy nanoseconds · 3d6a42d1
      Android NDK does not have a `struct timespec` in its `struct stat`
      for nanosecond support, instead it has a single nanosecond member inside
      the struct stat itself.  We will use that and use a macro to expand to
      the `st_mtim` / `st_mtimespec` definition on other systems (much like
      the existing `st_mtime` backcompat definition).
      Edward Thomson committed
  11. 09 Feb, 2016 1 commit
  12. 20 Nov, 2015 1 commit
  13. 30 Oct, 2015 2 commits
  14. 02 Oct, 2015 1 commit
  15. 19 Sep, 2015 2 commits
  16. 17 Sep, 2015 4 commits
  17. 17 May, 2015 1 commit
  18. 15 May, 2015 1 commit
  19. 11 May, 2015 1 commit
  20. 19 Mar, 2015 1 commit
  21. 15 Feb, 2015 1 commit
  22. 13 Feb, 2015 3 commits
  23. 12 Feb, 2015 1 commit
  24. 05 Feb, 2015 1 commit
  25. 04 Feb, 2015 1 commit
  26. 20 Jan, 2015 3 commits