mirror of
https://github.com/fadden/nulib2.git
synced 2024-09-27 15:56:12 +00:00
Win32 fix
This commit is contained in:
parent
e7bf743afd
commit
ad2ec98e8b
@ -401,7 +401,7 @@ int TestExtract(NuArchive* pArchive, const char* entryNameMOR)
|
|||||||
(void) NuFreeDataSink(pDataSink);
|
(void) NuFreeDataSink(pDataSink);
|
||||||
|
|
||||||
printf("... confirming extraction of '%s'\n", entryNameUNI);
|
printf("... confirming extraction of '%s'\n", entryNameUNI);
|
||||||
if (access(entryNameUNI, R_OK) != 0) {
|
if (access(entryNameUNI, F_OK) != 0) {
|
||||||
fprintf(stderr, "ERROR: unable to read '%s' (err=%d)\n",
|
fprintf(stderr, "ERROR: unable to read '%s' (err=%d)\n",
|
||||||
entryNameUNI, errno);
|
entryNameUNI, errno);
|
||||||
free(entryNameUNI);
|
free(entryNameUNI);
|
||||||
@ -493,7 +493,7 @@ int DoTests(void)
|
|||||||
}
|
}
|
||||||
pArchive = NULL;
|
pArchive = NULL;
|
||||||
|
|
||||||
if (access(kTestArchive, R_OK) != 0) {
|
if (access(kTestArchive, F_OK) != 0) {
|
||||||
fprintf(stderr, "ERROR: did not find %s (err=%d)\n", kTestArchive, err);
|
fprintf(stderr, "ERROR: did not find %s (err=%d)\n", kTestArchive, err);
|
||||||
goto failed;
|
goto failed;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user