[Pkg-owncloud-commits] [owncloud-client] 296/484: Fix OS X compilation: use mode_t instead of __mode_t

Sandro Knauß hefee-guest at moszumanska.debian.org
Wed Dec 16 00:37:55 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 1d9c591c08256a764b73cfb910e4a4563c785188
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Wed Nov 11 09:36:17 2015 +0100

    Fix OS X compilation: use mode_t instead of __mode_t
---
 src/libsync/filesystem.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libsync/filesystem.cpp b/src/libsync/filesystem.cpp
index 9179926..db13a74 100644
--- a/src/libsync/filesystem.cpp
+++ b/src/libsync/filesystem.cpp
@@ -115,7 +115,7 @@ static QFile::Permissions getDefaultWritePermissions()
 {
     QFile::Permissions result = QFile::WriteUser;
 #ifndef Q_OS_WIN
-    __mode_t mask = umask(0);
+    mode_t mask = umask(0);
     umask(mask);
     if (!(mask & S_IWGRP)) {
         result |= QFile::WriteGroup;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list