From 21aedb518c6b9d416358cd7749dacb0ac8e4d225 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Sun, 13 Jul 2014 02:39:43 +0400 Subject: [PATCH 1/2] PKG Installing fixed --- Utilities/rFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/rFile.cpp b/Utilities/rFile.cpp index 04a3da0b25..ed1b07df4c 100644 --- a/Utilities/rFile.cpp +++ b/Utilities/rFile.cpp @@ -194,7 +194,7 @@ std::string rGetCwd() bool rMkdir(const std::string &dir) { - return mkdir(dir.c_str()); + return !_mkdir(dir.c_str()); } bool rMkpath(const std::string& path) From 2c7de6102780d3ae05cdf76e5a03a15e3f360216 Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Sun, 13 Jul 2014 02:56:52 +0400 Subject: [PATCH 2/2] Compilation fix --- Utilities/rFile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utilities/rFile.cpp b/Utilities/rFile.cpp index ed1b07df4c..2ce5fdcbfe 100644 --- a/Utilities/rFile.cpp +++ b/Utilities/rFile.cpp @@ -194,7 +194,7 @@ std::string rGetCwd() bool rMkdir(const std::string &dir) { - return !_mkdir(dir.c_str()); + return !mkdir(dir.c_str()); } bool rMkpath(const std::string& path)