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
49c779a8
Commit
49c779a8
authored
Nov 19, 2001
by
James Juran
Committed by
Alexandre Julliard
Nov 19, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent warnings about labels at end of switch statements when
compiling with gcc-3.x.
parent
6e04f591
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
debugger.c
dlls/kernel/debugger.c
+1
-0
process.c
server/process.c
+3
-4
spec32.c
tools/winebuild/spec32.c
+2
-2
No files found.
dlls/kernel/debugger.c
View file @
49c779a8
...
...
@@ -105,6 +105,7 @@ BOOL WINAPI WaitForDebugEvent(
break
;
}
done:
/* nothing */
;
}
SERVER_END_VAR_REQ
;
if
(
ret
)
return
TRUE
;
...
...
server/process.c
View file @
49c779a8
...
...
@@ -232,7 +232,7 @@ static void init_process( int ppid, struct init_process_request *req )
process
->
handles
=
copy_handle_table
(
process
,
parent
);
else
process
->
handles
=
alloc_handle_table
(
process
,
0
);
if
(
!
process
->
handles
)
goto
error
;
if
(
!
process
->
handles
)
return
;
/* retrieve the main exe file */
req
->
exe_file
=
0
;
...
...
@@ -240,11 +240,11 @@ static void init_process( int ppid, struct init_process_request *req )
{
process
->
exe
.
file
=
(
struct
file
*
)
grab_object
(
info
->
exe_file
);
if
(
!
(
req
->
exe_file
=
alloc_handle
(
process
,
process
->
exe
.
file
,
GENERIC_READ
,
0
)))
goto
error
;
return
;
}
/* set the process console */
if
(
!
set_process_console
(
process
,
parent
,
info
,
req
))
goto
error
;
if
(
!
set_process_console
(
process
,
parent
,
info
,
req
))
return
;
if
(
parent
)
{
...
...
@@ -278,7 +278,6 @@ static void init_process( int ppid, struct init_process_request *req )
}
req
->
create_flags
=
process
->
create_flags
;
req
->
server_start
=
server_start_ticks
;
error:
}
/* destroy a process when its refcount is 0 */
...
...
tools/winebuild/spec32.c
View file @
49c779a8
...
...
@@ -301,12 +301,12 @@ static int output_exports( FILE *outfile, int nr_exports )
if
(
Names
[
i
]
->
flags
&
FLAG_NOIMPORT
)
continue
;
/* check for invalid characters in the name */
for
(
p
=
Names
[
i
]
->
name
;
*
p
;
p
++
)
if
(
!
isalnum
(
*
p
)
&&
*
p
!=
'_'
&&
*
p
!=
'.'
)
goto
next
;
if
(
!
isalnum
(
*
p
)
&&
*
p
!=
'_'
&&
*
p
!=
'.'
)
break
;
if
(
*
p
)
continue
;
fprintf
(
outfile
,
"
\"\\
t.globl "
PREFIX
"__wine_dllexport_%s_%s
\\
n
\"\n
"
,
DLLName
,
Names
[
i
]
->
name
);
fprintf
(
outfile
,
"
\"
"
PREFIX
"__wine_dllexport_%s_%s:
\\
n
\"\n
"
,
DLLName
,
Names
[
i
]
->
name
);
next:
}
fprintf
(
outfile
,
"
\"\\
t.long 0xffffffff
\\
n
\"\n
"
);
...
...
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