[Mono-bugs] [Bug 53173][Wis] Changed - DirectoryInfo.GetFiles fails when the directory name ends with a space

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 23 Jan 2004 08:49:16 -0500 (EST)


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 vargaz@freemail.hu.

http://bugzilla.ximian.com/show_bug.cgi?id=53173

--- shadow/53173	2004-01-21 11:55:09.000000000 -0500
+++ shadow/53173.tmp.24645	2004-01-23 08:49:16.000000000 -0500
@@ -1,23 +1,23 @@
 Bug#: 53173
-Product: Mono/Runtime
+Product: Mono/Class Libraries
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Wishlist
-Component: misc
+Component: CORLIB
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: carriere_vincent@yahoo.fr               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
 URL: 
 Cc: 
-Summary: Muine 0.1.1, mono 0.29 and directory name with a space
+Summary: DirectoryInfo.GetFiles fails when the directory name ends with a space
 
 When adding a directory with a space (_) at the end of his name
 (directory_), muine 0.1.1 hangs. 
 Jorn Baayen (muine developper) tell me that it is maybe a mono bug so I
 post this here. Sorry for the noise if I'm wrong.
 
@@ -60,6 +60,14 @@
 >  
 > 
 > ** ERROR **: Must shutdown ORB from main thread
 > aborting...
 > /usr/local/bin/muine: line 6:  8350 Aborted                 (core
 > dumped) /usr/bin/mono /usr/local/lib/muine/muine.exe "$@"
+
+------- Additional Comments From vargaz@freemail.hu  2004-01-23 08:49 -------
+-> class libs.
+
+The problem is that Path.GetFullPath () deletes the space at the end
+of a path. This is consistent with MS behaviour, but I'm not sure
+files names under windows can end with a space, so it is not a problem
+for the MS implementation, but it is a problem for us.