projects
/
mono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bbca26
)
Use Ordinal string comparison here.
author
Miguel de Icaza
<miguel@gnome.org>
Tue, 26 Jun 2012 03:57:09 +0000
(
00:57
-0300)
committer
Miguel de Icaza
<miguel@gnome.org>
Tue, 26 Jun 2012 03:57:09 +0000
(
00:57
-0300)
mcs/class/System/System.IO/KeventWatcher.cs
patch
|
blob
|
history
diff --git
a/mcs/class/System/System.IO/KeventWatcher.cs
b/mcs/class/System/System.IO/KeventWatcher.cs
index 1af2d2c4c93dfed2f261637565b93a711fe4c0a3..7c76996cb3ff7c645d7363b8e5a2cc26a7f91dd9 100644
(file)
--- a/
mcs/class/System/System.IO/KeventWatcher.cs
+++ b/
mcs/class/System/System.IO/KeventWatcher.cs
@@
-334,7
+334,7
@@
namespace System.IO {
return;
lock (fsw) {
- if (changedFsi.FullName.StartsWith (fsw.FullPath))
+ if (changedFsi.FullName.StartsWith (fsw.FullPath
, StringComparison.Ordinal
))
filename = changedFsi.FullName.Substring (fsw.FullPath.Length + 1);
fsw.DispatchEvents (fa, filename, ref renamed);
if (fsw.Waiting) {