diff options
Diffstat (limited to 'mcs/tools/mono-rpm-helpers')
-rw-r--r-- | mcs/tools/mono-rpm-helpers/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/tools/mono-rpm-helpers/mono-find-provides/mono-find-provides.cs | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/mcs/tools/mono-rpm-helpers/ChangeLog b/mcs/tools/mono-rpm-helpers/ChangeLog index 77791244dc0..62229ef09ac 100644 --- a/mcs/tools/mono-rpm-helpers/ChangeLog +++ b/mcs/tools/mono-rpm-helpers/ChangeLog @@ -1,3 +1,8 @@ +2004-09-02 Duncan Mak <duncan@ximian.com> + + * mono-find-provides/mono-find-provides.cs (PrintProvides): Fix + the handling of 2.0 mscorlib. + 2004-08-10 Duncan Mak <duncan@ximian.com> * mono-find-requires/mono-find-requires.cs (PrintRequires): Since diff --git a/mcs/tools/mono-rpm-helpers/mono-find-provides/mono-find-provides.cs b/mcs/tools/mono-rpm-helpers/mono-find-provides/mono-find-provides.cs index 4e650425b75..64c29701d60 100644 --- a/mcs/tools/mono-rpm-helpers/mono-find-provides/mono-find-provides.cs +++ b/mcs/tools/mono-rpm-helpers/mono-find-provides/mono-find-provides.cs @@ -35,7 +35,7 @@ class FindProvides { AssemblyName an = a.GetName (); // hack to work around the issue with a 2.0 corlib - if (s.EndsWith ("2.0/mscorlib.dll")) + if (s.Trim ().EndsWith ("2.0/mscorlib.dll")) Console.WriteLine ("mono({0}) = {1}", "mscorlib", "2.0.3600.0"); else Console.WriteLine ("mono({0}) = {1}", an.Name, an.Version); |