Revert the fix for #5747 from 8b5f71ef60146590193298cc870bf72e14b47950, it broke...
authorMiguel de Icaza <miguel@gnome.org>
Fri, 29 Jun 2012 19:11:55 +0000 (15:11 -0400)
committerMiguel de Icaza <miguel@gnome.org>
Fri, 29 Jun 2012 19:12:38 +0000 (15:12 -0400)
mcs/class/System/System.IO/KeventWatcher.cs

index 7c76996cb3ff7c645d7363b8e5a2cc26a7f91dd9..d26c30e22f7935e391891119397ce1a9449770fb 100644 (file)
@@ -334,8 +334,6 @@ namespace System.IO {
                                return;
 
                        lock (fsw) {
-                               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) {
                                        fsw.Waiting = false;