From 87c1bf3fcc101039a11ea57beb7562c21e27a65d Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 5 Sep 2016 12:41:09 +0200 Subject: [PATCH] Revert "- system/helpers: overload mode in copyFile() function" This reverts commit c5ec2be2399ecf49f5cb4c8c33ec4cffd3e4f1f9. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/2a29fb06a110a6f36c4cae09adec5c277cbc79cd Author: vanhofen Date: 2016-09-05 (Mon, 05 Sep 2016) --- src/system/helpers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/helpers.h b/src/system/helpers.h index 5c5a8be74..c3abdb41f 100644 --- a/src/system/helpers.h +++ b/src/system/helpers.h @@ -89,7 +89,7 @@ class CFileHelpers static CFileHelpers* getInstance(); bool doCopyFlag; - bool copyFile(const char *Src, const char *Dst, mode_t mode = 644); //NI + bool copyFile(const char *Src, const char *Dst, mode_t mode); bool copyDir(const char *Src, const char *Dst, bool backupMode=false); static bool createDir(std::string& Dir, mode_t mode = 755); static bool createDir(const char *Dir, mode_t mode = 755){std::string dir = std::string(Dir);return createDir(dir, mode);}