mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Fixed some portability issues for Windows.
This commit is contained in:
parent
bb350beb63
commit
8fb43ddefa
9 changed files with 688 additions and 37 deletions
2
parity.c
2
parity.c
|
|
@ -131,9 +131,11 @@ int parity_open(const char* path)
|
|||
|
||||
return f;
|
||||
|
||||
#if HAVE_POSIX_FADVISE
|
||||
bail:
|
||||
close(f);
|
||||
return -1;
|
||||
#endif
|
||||
}
|
||||
|
||||
int parity_sync(const char* path, int f)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue