Skip to content

Commit

Permalink
merged RC_1_2 into RC_2_0
Browse files Browse the repository at this point in the history
  • Loading branch information
arvidn committed Sep 11, 2021
2 parents 4f9e19d + 8ac128c commit 3623664
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/mmap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,11 @@ namespace {
;
}

int file_perms(open_mode_t const mode)
mode_t file_perms(open_mode_t const mode)
{
// rely on default umask to filter x and w permissions
// for group and others
int permissions = S_IRUSR | S_IWUSR
mode_t permissions = S_IRUSR | S_IWUSR
| S_IRGRP | S_IWGRP
| S_IROTH | S_IWOTH;

Expand Down
2 changes: 1 addition & 1 deletion src/path.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ namespace {

// rely on default umask to filter x and w permissions
// for group and others
int const permissions = S_IRUSR | S_IWUSR
mode_t const permissions = S_IRUSR | S_IWUSR
| S_IRGRP | S_IWGRP
| S_IROTH | S_IWOTH;

Expand Down

0 comments on commit 3623664

Please sign in to comment.