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
5d617e8f
Commit
5d617e8f
authored
Apr 16, 2004
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed support for the --debugmsg option.
parent
033ae921
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
22 deletions
+3
-22
options.c
misc/options.c
+3
-22
No files found.
misc/options.c
View file @
5d617e8f
...
@@ -48,7 +48,7 @@ static void do_version( const char *arg );
...
@@ -48,7 +48,7 @@ static void do_version( const char *arg );
static
const
struct
option_descr
option_table
[]
=
static
const
struct
option_descr
option_table
[]
=
{
{
{
"debugmsg"
,
0
,
1
,
do_debugmsg
,
{
"debugmsg"
,
0
,
1
,
do_debugmsg
,
"--debugmsg name
Turn debugging-messages on or off
"
},
"--debugmsg name
No longer supported, use the WINEDEBUG variable instead
"
},
{
"help"
,
'h'
,
0
,
do_help
,
{
"help"
,
'h'
,
0
,
do_help
,
"--help,-h Show this help message"
},
"--help,-h Show this help message"
},
{
"version"
,
'v'
,
0
,
do_version
,
{
"version"
,
'v'
,
0
,
do_version
,
...
@@ -70,29 +70,10 @@ static void do_version( const char *arg )
...
@@ -70,29 +70,10 @@ static void do_version( const char *arg )
static
void
do_debugmsg
(
const
char
*
arg
)
static
void
do_debugmsg
(
const
char
*
arg
)
{
{
char
buffer
[
1024
];
MESSAGE
(
"Error: the --debugmsg option is no longer supported. You should use
\n
"
);
if
(
wine_dbg_parse_options
(
arg
))
{
MESSAGE
(
"wine: Syntax: --debugmsg [class]+xxx,... or -debugmsg [class]-xxx,...
\n
"
);
MESSAGE
(
"Example: --debugmsg +all,warn-heap
\n
"
" turn on all messages except warning heap messages
\n
"
);
MESSAGE
(
"Available message classes: err, warn, fixme, trace
\n\n
"
);
ExitProcess
(
1
);
}
MESSAGE
(
"Warning: the --debugmsg option is deprecated. You should use
\n
"
);
MESSAGE
(
"the WINEDEBUG environment variable instead, like this:
\n\n
"
);
MESSAGE
(
"the WINEDEBUG environment variable instead, like this:
\n\n
"
);
MESSAGE
(
" WINEDEBUG=%s wine ...
\n\n
"
,
arg
);
MESSAGE
(
" WINEDEBUG=%s wine ...
\n\n
"
,
arg
);
ExitProcess
(
1
);
/* append the argument to WINEDEBUG so that it gets inherited */
if
(
GetEnvironmentVariableA
(
"WINEDEBUG"
,
buffer
,
sizeof
(
buffer
)
-
1
)
&&
buffer
[
0
])
{
char
*
p
=
buffer
+
strlen
(
buffer
);
*
p
++
=
','
;
lstrcpynA
(
p
,
arg
,
buffer
+
sizeof
(
buffer
)
-
p
);
SetEnvironmentVariableA
(
"WINEDEBUG"
,
buffer
);
}
else
SetEnvironmentVariableA
(
"WINEDEBUG"
,
arg
);
}
}
static
inline
void
remove_options
(
char
*
argv
[],
int
pos
,
int
count
)
static
inline
void
remove_options
(
char
*
argv
[],
int
pos
,
int
count
)
...
...
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