Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastian Mayr
wine
Commits
ea34c87c
Commit
ea34c87c
authored
17 years ago
by
Jason Edmeades
Committed by
Alexandre Julliard
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
xcopy.exe: Convert from main to wmain.
parent
a1639ebf
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
programs/xcopy/Makefile.in
+1
-1
1 addition, 1 deletion
programs/xcopy/Makefile.in
programs/xcopy/xcopy.c
+1
-5
1 addition, 5 deletions
programs/xcopy/xcopy.c
with
2 additions
and
6 deletions
programs/xcopy/Makefile.in
+
1
−
1
View file @
ea34c87c
...
...
@@ -3,7 +3,7 @@ TOPOBJDIR = ../..
SRCDIR
=
@srcdir@
VPATH
=
@srcdir@
MODULE
=
xcopy.exe
APPMODE
=
-mconsole
APPMODE
=
-mconsole
-municode
IMPORTS
=
shell32 user32 msvcrt kernel32
EXTRADEFS
=
-DUNICODE
EXTRAINCL
=
-I
$(
TOPSRCDIR
)
/include/msvcrt
...
...
This diff is collapsed.
Click to expand it.
programs/xcopy/xcopy.c
+
1
−
5
View file @
ea34c87c
...
...
@@ -93,7 +93,7 @@ static WCHAR copyTo[MAX_PATH];
Processes the args, and drives the actual copying
========================================================================= */
int
main
(
int
argc
,
char
*
argv
[])
int
w
main
(
int
argc
,
WCHAR
*
argv
W
[])
{
int
rc
=
0
;
WCHAR
suppliedsource
[
MAX_PATH
]
=
{
0
};
/* As supplied on the cmd line */
...
...
@@ -104,7 +104,6 @@ int main (int argc, char *argv[])
WCHAR
destinationspec
[
MAX_PATH
]
=
{
0
};
/* Filespec of destination */
WCHAR
copyCmd
[
MAXSTRING
];
/* COPYCMD env var */
DWORD
flags
=
0
;
/* Option flags */
LPWSTR
*
argvW
=
NULL
;
const
WCHAR
PROMPTSTR1
[]
=
{
'/'
,
'Y'
,
0
};
const
WCHAR
PROMPTSTR2
[]
=
{
'/'
,
'y'
,
0
};
const
WCHAR
COPYCMD
[]
=
{
'C'
,
'O'
,
'P'
,
'Y'
,
'C'
,
'M'
,
'D'
,
0
};
...
...
@@ -114,9 +113,6 @@ int main (int argc, char *argv[])
* Parse the command line
*/
/* overwrite the command line */
argvW
=
CommandLineToArgvW
(
GetCommandLineW
(),
&
argc
);
/* Confirm at least one parameter */
if
(
argc
<
2
)
{
XCOPY_wprintf
(
XCOPY_LoadMessage
(
STRING_INVPARMS
));
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment