Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
c5a72379
Commit
c5a72379
authored
Sep 03, 2012
by
Jason Edmeades
Committed by
Alexandre Julliard
Sep 04, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Fix renaming inside directories.
parent
94f9e789
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
builtins.c
programs/cmd/builtins.c
+1
-1
test_builtins.cmd.exp
programs/cmd/tests/test_builtins.cmd.exp
+2
-2
No files found.
programs/cmd/builtins.c
View file @
c5a72379
...
...
@@ -1872,7 +1872,7 @@ void WCMD_rename (void)
}
/* Destination cannot contain a drive letter or directory separator */
if
((
strchrW
(
param
1
,
':'
)
!=
NULL
)
||
(
strchrW
(
param1
,
'\\'
)
!=
NULL
))
{
if
((
strchrW
(
param
2
,
':'
)
!=
NULL
)
||
(
strchrW
(
param2
,
'\\'
)
!=
NULL
))
{
SetLastError
(
ERROR_INVALID_PARAMETER
);
WCMD_print_error
();
errorlevel
=
1
;
...
...
programs/cmd/tests/test_builtins.cmd.exp
View file @
c5a72379
...
...
@@ -629,8 +629,8 @@ read-only file renamed
dir renamed
read-only dir renamed
--- rename in other directory
@todo_wine@
rename impossible in other directory
@todo_wine@
original file still present
rename impossible in other directory
original file still present
------------ Testing move ------------
--- file move
file move succeeded
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment