1. 24 Jun, 2019 1 commit
    • win32: cast WinAPI to void * before casting · c512d58f
      GetProcAddress is prototyped to return a `FARPROC`, which is meant to be
      a generic function pointer.  It's literally `int (FAR WINAPI * FARPROC)()`
      which gcc complains if you attempt to cast to a `void (*)(GIT_SRWLOCK *)`.
      Cast to a `void *` before casting to avoid warnings about the arguments.
      Edward Thomson committed
  2. 10 Jun, 2018 1 commit
  3. 16 Dec, 2014 1 commit
    • win32: use NT-prefixed "\\?\" paths · cceae9a2
      When turning UTF-8 paths into UCS-2 paths for Windows, always use
      the \\?\-prefixed paths.  Because this bypasses the system's
      path canonicalization, handle the canonicalization functions ourselves.
      
      We must:
       1. always use a backslash as a directory separator
       2. only use a single backslash between directories
       3. not rely on the system to translate "." and ".." in paths
       4. remove trailing backslashes, except at the drive root (C:\)
      Edward Thomson committed
  4. 09 Dec, 2014 1 commit
  5. 23 Apr, 2014 1 commit
  6. 22 Apr, 2014 1 commit