dll: fuse: ENOSYS has different values on Windows vs Cygwin

This commit is contained in:
Bill Zissimopoulos 2018-07-16 09:50:21 -07:00
parent ad1b53e5a4
commit 27d03d4323
No known key found for this signature in database
GPG Key ID: 3D4F95D52C7B3EA3

View File

@ -266,7 +266,7 @@ loopend:;
if (0 != f->ops.getattr) if (0 != f->ops.getattr)
err = f->ops.getattr(PosixHiddenPath, (void *)&stbuf); err = f->ops.getattr(PosixHiddenPath, (void *)&stbuf);
else else
err = -ENOSYS; err = -enosys(f->env);
} while (0 == err && 0 < --maxtries); } while (0 == err && 0 < --maxtries);
if (0 == err) if (0 == err)
@ -308,7 +308,7 @@ static BOOLEAN fsp_fuse_intf_CheckSymlinkDirectory(FSP_FILE_SYSTEM *FileSystem,
if (0 != f->ops.getattr) if (0 != f->ops.getattr)
err = f->ops.getattr(PosixDotPath, (void *)&stbuf); err = f->ops.getattr(PosixDotPath, (void *)&stbuf);
else else
err = -ENOSYS; err = -enosys(f->env);
MemFree(PosixDotPath); MemFree(PosixDotPath);