* fhandler_disk_file.cc (fhandler_disk_file::fstat): Minor logic cleanup.
This commit is contained in:
parent
2402700d07
commit
57e2ae682c
|
@ -1,3 +1,8 @@
|
||||||
|
2002-05-27 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
|
* fhandler_disk_file.cc (fhandler_disk_file::fstat): Minor logic
|
||||||
|
cleanup.
|
||||||
|
|
||||||
2002-05-27 Christopher Faylor <cgf@redhat.com>
|
2002-05-27 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro.
|
* autoload.cc (LoadFuncEx): Define via new LoadFuncEx2 macro.
|
||||||
|
|
|
@ -143,9 +143,7 @@ fhandler_disk_file::fstat (struct __stat64 *buf, path_conv *pc)
|
||||||
|
|
||||||
if (query_open_already && strncasematch (pc->volname (), "FAT", 3))
|
if (query_open_already && strncasematch (pc->volname (), "FAT", 3))
|
||||||
oret = 0;
|
oret = 0;
|
||||||
else if ((oret = open (pc, open_flags, 0)))
|
else if (!(oret = open (pc, open_flags, 0)))
|
||||||
/* ok */;
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
int ntsec_atts = 0;
|
int ntsec_atts = 0;
|
||||||
/* If we couldn't open the file, try a "query open" with no permissions.
|
/* If we couldn't open the file, try a "query open" with no permissions.
|
||||||
|
|
Loading…
Reference in New Issue