New upstream version 2017.12

This commit is contained in:
Simon McVittie committed 2017-10-03 18:51:37 +01:00
commit d5964d6850
283 files changed
+4566 -2286

No files matched your search

+2 -3
View File
@@ -1,5 +1,4 @@
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
*
/*
* Copyright (C) 2015,2016 Colin Walters <walters@verbum.org>
*
* This library is free software; you can redistribute it and/or
@@ -313,7 +312,7 @@ do_open (const char *path, mode_t mode, struct fuse_file_info *finfo)
if ((finfo->flags & O_ACCMODE) == O_RDONLY)
{
/* Read */
fd = openat (basefd, path, finfo->flags);
fd = openat (basefd, path, finfo->flags, mode);
if (fd == -1)
return -errno;
}