mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-08 15:52:02 +00:00
windows: Fuck me
This commit is contained in:
parent
345b6307be
commit
3948e86240
@ -79,7 +79,7 @@ int git__readdir_ext(
|
|||||||
if (wcslen(d->f.cFileName) >= sizeof(entry->d_name))
|
if (wcslen(d->f.cFileName) >= sizeof(entry->d_name))
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
git__win32_path_from_c(entry->d_name, d->f.cFileName);
|
git__win32_path_to_c(entry->d_name, d->f.cFileName);
|
||||||
entry->d_ino = 0;
|
entry->d_ino = 0;
|
||||||
|
|
||||||
*result = entry;
|
*result = entry;
|
||||||
|
@ -8,6 +8,7 @@
|
|||||||
#define INCLUDE_posix__w32_h__
|
#define INCLUDE_posix__w32_h__
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
#include "../posix.h"
|
||||||
#include "utf-conv.h"
|
#include "utf-conv.h"
|
||||||
#include "dir.h"
|
#include "dir.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user