[ros-bugs] [Bug 6709] WIP: Copy command doesn't behave as Windows one

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Wed Nov 30 01:59:05 UTC 2011


http://www.reactos.org/bugzilla/show_bug.cgi?id=6709


vicmarcal <vicmarcal at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|ros-bugs at reactos.org        |vicmarcal at hotmail.com
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1




--- Comment #1 from vicmarcal <vicmarcal at hotmail.com>  2011-11-30 01:59:04 CET ---
Created an attachment (id=7074)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=7074)
Cleaning the logic a little before patching the wrong behavior

GetRootPath is just called when the tmpName(Source string) is X: (as C:,D:,etc)
in this case GetRootPath returns C:\ or D:\.
GetFullPathName can handle C: and D: and return C:\ or D:\ according to MSDN:
"If you specify "U:" the path returned is "U:\" "

So we can safely remove the if/else.
PS: This reduces the mess a little, but doesn't solve the bug yet.


-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list