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
ffbaf243
Commit
ffbaf243
authored
Jul 18, 1999
by
Eric Pouech
Committed by
Alexandre Julliard
Jul 18, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug_(snoop|relay)_(exclude|include)list => fixed allocation, modules
are now stored uppercase.
parent
9b4748b6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
main.c
misc/main.c
+6
-4
No files found.
misc/main.c
View file @
ffbaf243
...
...
@@ -246,22 +246,24 @@ BOOL MAIN_ParseDebugOptions(char *options)
&
debug_relay_excludelist
:
&
debug_snoop_excludelist
);
s
=
options
+
7
;
i
=
1
;
/* if there are n ':', there are n+1 modules, and we need n+2 slots
* last one being for the sentinel (NULL) */
i
=
2
;
while
((
s
=
strchr
(
s
,
':'
)))
i
++
,
s
++
;
*
output
=
malloc
(
sizeof
(
char
**
)
*
i
+
1
);
*
output
=
malloc
(
sizeof
(
char
**
)
*
i
);
i
=
0
;
s
=
options
+
7
;
while
((
s2
=
strchr
(
s
,
':'
)))
{
c
=
*
s2
;
*
s2
=
'\0'
;
*
((
*
output
)
+
i
)
=
strdup
(
s
);
*
((
*
output
)
+
i
)
=
CharUpperA
(
strdup
(
s
)
);
*
s2
=
c
;
s
=
s2
+
1
;
i
++
;
}
c
=
*
(
options
+
l
);
*
(
options
+
l
)
=
'\0'
;
*
((
*
output
)
+
i
)
=
strdup
(
s
);
*
((
*
output
)
+
i
)
=
CharUpperA
(
strdup
(
s
)
);
*
(
options
+
l
)
=
c
;
*
((
*
output
)
+
i
+
1
)
=
NULL
;
}
...
...
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