diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2008-02-12 18:04:13 +0300 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2008-02-12 18:04:13 +0300 |
commit | 00960075e9ba4f6daf3261b89c91725be58af519 (patch) | |
tree | 094f1ad841a0f2216250a2de1bc80f06a6f34233 /gendarme/rules | |
parent | fb81097e5fbeceab932b7f7c9691b2c851108b7a (diff) |
2008-02-12 Sebastien Pouliot <sebastien@ximian.com>
* Gendarme.Rules.Portability.xml.in: Fix definition for
FeatureRequiresRootPrivilegeOnUnixRule.
svn path=/trunk/mono-tools/; revision=95508
Diffstat (limited to 'gendarme/rules')
-rw-r--r-- | gendarme/rules/Gendarme.Rules.Portability/ChangeLog | 5 | ||||
-rw-r--r-- | gendarme/rules/Gendarme.Rules.Portability/Gendarme.Rules.Portability.xml.in | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/gendarme/rules/Gendarme.Rules.Portability/ChangeLog b/gendarme/rules/Gendarme.Rules.Portability/ChangeLog index 15c2f319..21cb3ce4 100644 --- a/gendarme/rules/Gendarme.Rules.Portability/ChangeLog +++ b/gendarme/rules/Gendarme.Rules.Portability/ChangeLog @@ -1,3 +1,8 @@ +2008-02-12 Sebastien Pouliot <sebastien@ximian.com> + + * Gendarme.Rules.Portability.xml.in: Fix definition for + FeatureRequiresRootPrivilegeOnUnixRule. + 2008-02-03 Sebastien Pouliot <sebastien@ximian.com> * FeatureRequiresRootPrivilegeOnUnixRule.cs: Split the checks diff --git a/gendarme/rules/Gendarme.Rules.Portability/Gendarme.Rules.Portability.xml.in b/gendarme/rules/Gendarme.Rules.Portability/Gendarme.Rules.Portability.xml.in index 3ca67e73..e3bd3eab 100644 --- a/gendarme/rules/Gendarme.Rules.Portability/Gendarme.Rules.Portability.xml.in +++ b/gendarme/rules/Gendarme.Rules.Portability/Gendarme.Rules.Portability.xml.in @@ -8,8 +8,8 @@ <rule Name="FeatureRequiresRootPrivilegeOnUnixRule" Type="Gendarme.Rules.Portability.FeatureRequiresRootPrivilegeOnUnixRule, Gendarme.Rules.Portability, Version=@GENDARME_VERSION@, Culture=neutral, PublicKeyToken=null" Uri="http://www.mono-project.com/Gendarme.Rules.Portability#FeatureRequiresRootPrivilegeOnUnixRule" > - <problem>The method '{0}' use some literal values for new lines (e.g. \r\n) which aren't portable across operating systems.</problem> - <solution>Replace literals with Environment.NewLine.</solution> + <problem>The method '{0}' use some features that requires 'root' priviledge under Unix.</problem> + <solution>Make sure your code can work without requiring users to have 'root' priviledge.</solution> </rule> <rule Name="MonoCompatibilityReviewRule" Type="Gendarme.Rules.Portability.MonoCompatibilityReviewRule, Gendarme.Rules.Portability, Version=@GENDARME_VERSION@, Culture=neutral, PublicKeyToken=null" |