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
9f83165e
Commit
9f83165e
authored
Oct 16, 2012
by
Jason Edmeades
Committed by
Alexandre Julliard
Oct 17, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Rename parameter passed to builtin calls.
parent
dccccfc2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
13 deletions
+13
-13
builtins.c
programs/cmd/builtins.c
+0
-0
directory.c
programs/cmd/directory.c
+4
-4
wcmd.h
programs/cmd/wcmd.h
+9
-9
No files found.
programs/cmd/builtins.c
View file @
9f83165e
This diff is collapsed.
Click to expand it.
programs/cmd/directory.c
View file @
9f83165e
...
...
@@ -594,7 +594,7 @@ static void WCMD_dir_trailer(WCHAR drive) {
*
*/
void
WCMD_directory
(
WCHAR
*
cmd
)
void
WCMD_directory
(
WCHAR
*
args
)
{
WCHAR
path
[
MAX_PATH
],
cwd
[
MAX_PATH
];
DWORD
status
;
...
...
@@ -602,7 +602,7 @@ void WCMD_directory (WCHAR *cmd)
WCHAR
*
p
;
WCHAR
string
[
MAXSTRING
];
int
argno
=
0
;
WCHAR
*
argN
=
cmd
;
WCHAR
*
argN
=
args
;
WCHAR
lastDrive
;
BOOL
trailerReqd
=
FALSE
;
DIRECTORY_STACK
*
fullParms
=
NULL
;
...
...
@@ -794,7 +794,7 @@ void WCMD_directory (WCHAR *cmd)
}
argno
=
0
;
argN
=
cmd
;
argN
=
args
;
GetCurrentDirectoryW
(
MAX_PATH
,
cwd
);
strcatW
(
cwd
,
slashW
);
...
...
@@ -803,7 +803,7 @@ void WCMD_directory (WCHAR *cmd)
prevEntry
=
NULL
;
while
(
argN
)
{
WCHAR
fullname
[
MAXSTRING
];
WCHAR
*
thisArg
=
WCMD_parameter
(
cmd
,
argno
++
,
&
argN
,
NULL
,
FALSE
,
FALSE
);
WCHAR
*
thisArg
=
WCMD_parameter
(
args
,
argno
++
,
&
argN
,
NULL
,
FALSE
,
FALSE
);
if
(
argN
&&
argN
[
0
]
!=
'/'
)
{
WINE_TRACE
(
"Found parm '%s'
\n
"
,
wine_dbgstr_w
(
thisArg
));
...
...
programs/cmd/wcmd.h
View file @
9f83165e
...
...
@@ -69,7 +69,7 @@ void WCMD_endlocal (void);
void
WCMD_enter_paged_mode
(
const
WCHAR
*
);
void
WCMD_exit
(
CMD_LIST
**
cmdList
);
void
WCMD_for
(
WCHAR
*
,
CMD_LIST
**
cmdList
);
void
WCMD_give_help
(
const
WCHAR
*
command
);
void
WCMD_give_help
(
const
WCHAR
*
args
);
void
WCMD_goto
(
CMD_LIST
**
cmdList
);
void
WCMD_if
(
WCHAR
*
,
CMD_LIST
**
cmdList
);
void
WCMD_leave_paged_mode
(
void
);
...
...
@@ -83,24 +83,24 @@ void WCMD_output_asis_stderr (const WCHAR *message);
void
WCMD_pause
(
void
);
void
WCMD_popd
(
void
);
void
WCMD_print_error
(
void
);
void
WCMD_pushd
(
const
WCHAR
*
command
);
void
WCMD_pushd
(
const
WCHAR
*
args
);
void
WCMD_remove_dir
(
WCHAR
*
command
);
void
WCMD_rename
(
void
);
void
WCMD_run_program
(
WCHAR
*
command
,
BOOL
called
);
void
WCMD_setlocal
(
const
WCHAR
*
command
);
void
WCMD_setlocal
(
const
WCHAR
*
args
);
void
WCMD_setshow_date
(
void
);
void
WCMD_setshow_default
(
const
WCHAR
*
command
);
void
WCMD_setshow_default
(
const
WCHAR
*
args
);
void
WCMD_setshow_env
(
WCHAR
*
command
);
void
WCMD_setshow_path
(
const
WCHAR
*
command
);
void
WCMD_setshow_path
(
const
WCHAR
*
args
);
void
WCMD_setshow_prompt
(
void
);
void
WCMD_setshow_time
(
void
);
void
WCMD_shift
(
const
WCHAR
*
command
);
void
WCMD_start
(
const
WCHAR
*
command
);
void
WCMD_shift
(
const
WCHAR
*
args
);
void
WCMD_start
(
const
WCHAR
*
args
);
void
WCMD_title
(
const
WCHAR
*
);
void
WCMD_type
(
WCHAR
*
);
void
WCMD_verify
(
const
WCHAR
*
command
);
void
WCMD_verify
(
const
WCHAR
*
args
);
void
WCMD_version
(
void
);
int
WCMD_volume
(
BOOL
set_label
,
const
WCHAR
*
command
);
int
WCMD_volume
(
BOOL
set_label
,
const
WCHAR
*
args
);
static
inline
BOOL
WCMD_is_console_handle
(
HANDLE
h
)
{
...
...
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