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
4fbabc2a
Commit
4fbabc2a
authored
Jul 03, 2017
by
Akihiro Sagawa
Committed by
Alexandre Julliard
Jul 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools: Support multiple error name tokens in a line.
Signed-off-by:
Akihiro Sagawa
<
sagawa.aki@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c8faa192
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
trace.c
server/trace.c
+1
-0
make_requests
tools/make_requests
+2
-2
No files found.
server/trace.c
View file @
4fbabc2a
...
...
@@ -5429,6 +5429,7 @@ static const struct
{
"PRIVILEGE_NOT_HELD"
,
STATUS_PRIVILEGE_NOT_HELD
},
{
"PROCESS_IN_JOB"
,
STATUS_PROCESS_IN_JOB
},
{
"PROCESS_IS_TERMINATING"
,
STATUS_PROCESS_IS_TERMINATING
},
{
"PROCESS_NOT_IN_JOB"
,
STATUS_PROCESS_NOT_IN_JOB
},
{
"SECTION_TOO_BIG"
,
STATUS_SECTION_TOO_BIG
},
{
"SEMAPHORE_LIMIT_EXCEEDED"
,
STATUS_SEMAPHORE_LIMIT_EXCEEDED
},
{
"SHARING_VIOLATION"
,
STATUS_SHARING_VIOLATION
},
...
...
tools/make_requests
View file @
4fbabc2a
...
...
@@ -290,11 +290,11 @@ sub GET_ERROR_NAMES()
open
FILE
,
$f
or
die
"Can't open $f"
;
while
(
<
FILE
>
)
{
if
(
/STATUS_(\w+)/
)
while
(
/\bSTATUS_(\w+)/g
)
{
$errors
{
$1
}
=
"STATUS_$1"
unless
(
$1
eq
"SUCCESS"
||
$1
eq
"WAIT_0"
);
}
elsif
(
/set_win32_error\s*\(\s*(\w+)\s*\)/
)
while
(
/\bset_win32_error\s*\(\s*(\w+)\s*\)/g
)
{
$errors
{
$1
}
=
"0xc0010000 | $1"
;
}
...
...
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