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
aaa5216a
Commit
aaa5216a
authored
Dec 10, 2021
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmc: Don't catch SIGSEGV.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f9d7acbf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
wmc.c
tools/wmc/wmc.c
+0
-11
No files found.
tools/wmc/wmc.c
View file @
aaa5216a
...
...
@@ -136,8 +136,6 @@ static const struct long_option long_options[] =
{
NULL
}
};
static
void
segvhandler
(
int
sig
);
static
void
cleanup_files
(
void
)
{
if
(
output_name
)
unlink
(
output_name
);
...
...
@@ -241,7 +239,6 @@ int main(int argc,char *argv[])
struct
strarray
files
;
atexit
(
cleanup_files
);
signal
(
SIGSEGV
,
segvhandler
);
signal
(
SIGTERM
,
exit_on_signal
);
signal
(
SIGINT
,
exit_on_signal
);
#ifdef SIGHUP
...
...
@@ -337,11 +334,3 @@ int main(int argc,char *argv[])
header_name
=
NULL
;
return
0
;
}
static
void
segvhandler
(
int
sig
)
{
fprintf
(
stderr
,
"
\n
%s:%d: Oops, segment violation
\n
"
,
input_name
,
line_number
);
fflush
(
stdout
);
fflush
(
stderr
);
abort
();
}
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