mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
libecl. Local quick-fix to prevent crash under Windows when restart file is located in different directory
This commit is contained in:
Vendored
+1
@@ -2249,6 +2249,7 @@ int util_fmove( FILE * stream , long offset , long shift) {
|
||||
#ifdef HAVE_WINDOWS__ACCESS
|
||||
|
||||
bool util_access(const char * entry, int mode) {
|
||||
if (!entry) return -1;
|
||||
return (_access(entry, mode) == 0);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user