diff options
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index ee13ae8ad..8f094bdc1 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -554,7 +554,7 @@ static int robust_open(const char *z, int f, mode_t m){ struct stat statbuf; if( osFstat(fd, &statbuf)==0 && statbuf.st_size==0 - && statbuf.st_mode&0777!=m + && (statbuf.st_mode&0777)!=m ){ osFchmod(fd, m); } |