[ros-bugs] [Bug 3902] New: CMD rename/ren works in wrong way.Patch included

ReactOS.Bugzilla at www.reactos.org ReactOS.Bugzilla at www.reactos.org
Sat Nov 22 00:57:36 CET 2008


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

           Summary: CMD rename/ren works in wrong way.Patch included
           Product: ReactOS
           Version: 0.3.7
          Platform: QEmu
        OS/Version: ReactOS
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: Shell
        AssignedTo: ros-bugs at reactos.org
        ReportedBy: vicmarcal at hotmail.com
         QAContact: ros-bugs at reactos.org


Created an attachment (id=3268)
 --> (http://www.reactos.org/bugzilla/attachment.cgi?id=3268)
Patch to fix this issue

Steps to reproduce:

1)Create a file in C:\ called deleteme.txt
2)Open CMD.(Prompt is in C:\Reactos\System32)
2)Then try to rename deleteme.txt to delete2.txt with:

rename C:\deleteme.txt C:\delete2.txt

It gives the following error:

deleteme.txt-> C:\delete2.txt
MoveFile() fail. Error: 2
0 files renamed
*********************
It happens because we are passing wrong srcAddress to MoveFile.
(As you can see)
Patch is attached it fixes the following wrong issues:
1)Show correct address when making "rename"
2)Give MoveFile correct address.
(My first patch... ^^)


-- 
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