[Mono-bugs] [Bug 65727][Nor] New - DirectoryInfo.GetFiles() doesn't correctly return a funky filename
Fri, 10 Sep 2004 17:29:32 -0400 (EDT)
Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.
Changed by firstname.lastname@example.org.
--- shadow/65727 2004-09-10 17:29:32.000000000 -0400
+++ shadow/65727.tmp.16139 2004-09-10 17:29:32.000000000 -0400
@@ -0,0 +1,26 @@
+Product: Mono: Class Libraries
+Summary: DirectoryInfo.GetFiles() doesn't correctly return a funky filename
+I have a file on my filesystem which has a ^M at the end of it. Don't ask
+me, it was in a CVS checkout. Anyway, this file shows up as "Icon?" in ls,
+but when I tab complete it in bash I get "Icon^M". In nautilus sometimes
+it shows a linebreak and sometimes the unicode value.
+Anyway, when I iterate across the return values of GetFiles(), the
+character is stripped out, leaving me with "Icon", which when you later try
+to do File.Exists() on it returns false.