* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/paste
bug.
This commit is contained in:
parent
378017d7c2
commit
b30dbbe2c3
@ -1,3 +1,8 @@
|
|||||||
|
2005-09-22 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix copy/paste
|
||||||
|
bug.
|
||||||
|
|
||||||
2005-09-22 Christopher Faylor <cgf@timesys.com>
|
2005-09-22 Christopher Faylor <cgf@timesys.com>
|
||||||
|
|
||||||
* strace.cc (strace::vsprntf): Avoid accessing myself->pid if !myself.
|
* strace.cc (strace::vsprntf): Avoid accessing myself->pid if !myself.
|
||||||
|
@ -395,7 +395,7 @@ fhandler_base::fstat_helper (struct __stat64 *buf,
|
|||||||
{
|
{
|
||||||
buf->st_mode |= STD_RBITS;
|
buf->st_mode |= STD_RBITS;
|
||||||
|
|
||||||
if (::has_attribute (dwFileAttributes, FILE_ATTRIBUTE_READONLY)
|
if (!::has_attribute (dwFileAttributes, FILE_ATTRIBUTE_READONLY)
|
||||||
&& !pc.issymlink ())
|
&& !pc.issymlink ())
|
||||||
buf->st_mode |= STD_WBITS;
|
buf->st_mode |= STD_WBITS;
|
||||||
/* | S_IWGRP | S_IWOTH; we don't give write to group etc */
|
/* | S_IWGRP | S_IWOTH; we don't give write to group etc */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user