mirror of
https://github.com/amadvance/snapraid.git
synced 2026-11-21 23:46:27 -05:00
Uses Windows API for reading/writing to improve error detection and reporting.
This commit is contained in:
parent
aeb167bb16
commit
e2c269fcdf
4 changed files with 227 additions and 20 deletions
2
util.c
2
util.c
|
|
@ -49,7 +49,9 @@ static unsigned strdecset[256] =
|
|||
|
||||
STREAM* sopen_read(const char* file)
|
||||
{
|
||||
#if HAVE_POSIX_FADVISE
|
||||
int ret;
|
||||
#endif
|
||||
STREAM* s = malloc_nofail(sizeof(STREAM));
|
||||
|
||||
s->handle_size = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue