projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1828215
)
Revert "Apple has introduced the System Integrety Protection in OS X 10.11. This...
author
Joao Matos
<joao@tritao.eu>
Tue, 12 Jan 2016 17:40:46 +0000
(17:40 +0000)
committer
Joao Matos
<joao@tritao.eu>
Tue, 12 Jan 2016 17:41:58 +0000
(17:41 +0000)
This reverts commit
b723c89628187ab138334c108e16d62bc9530d6e
.
@migueldeicaza thinks this is the wrong approach, reverting until we figure out the right way to go about this.
mcs/class/corlib/System/Environment.cs
patch
|
blob
|
history
diff --git
a/mcs/class/corlib/System/Environment.cs
b/mcs/class/corlib/System/Environment.cs
index a930e5355adffd83814f182d7c2ce894dd433027..99e35c2fe7c5c9744b7d73e0d795fe95392c933d 100644
(file)
--- a/
mcs/class/corlib/System/Environment.cs
+++ b/
mcs/class/corlib/System/Environment.cs
@@
-736,10
+736,6
@@
namespace System {
return String.Empty;
// This is where data common to all users goes
case SpecialFolder.CommonApplicationData:
- Version v = CreateVersionFromString (GetOSVersionString ());
- if (Platform == PlatformID.MacOSX && v >= new Version(15, 0)) {
- return "/usr/local/share";
- }
return "/usr/share";
default:
throw new ArgumentException ("Invalid SpecialFolder");