Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
42f126e8
Commit
42f126e8
authored
Oct 21, 2011
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd: Constify WCMD_pushd parameter.
parent
7bfe6486
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
builtins.c
programs/cmd/builtins.c
+2
-1
wcmd.h
programs/cmd/wcmd.h
+1
-1
No files found.
programs/cmd/builtins.c
View file @
42f126e8
...
...
@@ -1418,7 +1418,8 @@ void WCMD_goto (CMD_LIST **cmdList) {
* Push a directory onto the stack
*/
void
WCMD_pushd
(
WCHAR
*
command
)
{
void
WCMD_pushd
(
const
WCHAR
*
command
)
{
struct
env_stack
*
curdir
;
WCHAR
*
thisdir
;
static
const
WCHAR
parmD
[]
=
{
'/'
,
'D'
,
'\0'
};
...
...
programs/cmd/wcmd.h
View file @
42f126e8
...
...
@@ -79,7 +79,7 @@ void WCMD_output_asis_stderr (const WCHAR *message);
void
WCMD_pause
(
void
);
void
WCMD_popd
(
void
);
void
WCMD_print_error
(
void
);
void
WCMD_pushd
(
WCHAR
*
);
void
WCMD_pushd
(
const
WCHAR
*
command
);
void
WCMD_remove_dir
(
WCHAR
*
command
);
void
WCMD_rename
(
void
);
void
WCMD_run_program
(
WCHAR
*
command
,
int
called
);
...
...
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