Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6a6a4abb
Commit
6a6a4abb
authored
Jun 02, 2001
by
Anthony Green
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for sigaction.
From-SVN: r42790
parent
46d7fc96
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
3 deletions
+8
-3
libjava/configure
+0
-0
libjava/configure.in
+1
-1
libjava/include/config.h.in
+3
-0
libjava/prims.cc
+4
-2
No files found.
libjava/configure
View file @
6a6a4abb
This diff is collapsed.
Click to expand it.
libjava/configure.in
View file @
6a6a4abb
...
...
@@ -409,7 +409,7 @@ else
AC_CHECK_FUNCS(iconv nl_langinfo setlocale)
AC_CHECK_FUNCS(inet_aton inet_addr, break)
AC_CHECK_FUNCS(inet_pton uname inet_ntoa)
AC_CHECK_FUNCS(backtrace fork execvp pipe)
AC_CHECK_FUNCS(backtrace fork execvp pipe
sigaction
)
AC_CHECK_HEADERS(execinfo.h unistd.h dlfcn.h)
AC_CHECK_LIB(dl, dladdr, [
AC_DEFINE(HAVE_DLADDR)])
...
...
libjava/include/config.h.in
View file @
6a6a4abb
...
...
@@ -269,6 +269,9 @@
/* Define if you have the setlocale function. */
#undef HAVE_SETLOCALE
/* Define if you have the sigaction function. */
#undef HAVE_SIGACTION
/* Define if you have the sleep function. */
#undef HAVE_SLEEP
...
...
libjava/prims.cc
View file @
6a6a4abb
...
...
@@ -877,14 +877,16 @@ _Jv_CreateJavaVM (void* /*vm_args*/)
#ifdef USE_WIN32_SIGNALLING
// Install exception handler
SetUnhandledExceptionFilter
(
win32_exception_handler
);
#el
se
#el
if defined(HAVE_SIGACTION)
// We only want this on POSIX systems.
struct
sigaction
act
;
act
.
sa_handler
=
SIG_IGN
;
sigemptyset
(
&
act
.
sa_mask
);
act
.
sa_flags
=
0
;
sigaction
(
SIGPIPE
,
&
act
,
NULL
);
#endif
/* USE_WIN32_SIGNALLING */
#else
signal
(
SIGPIPE
,
SIG_IGN
);
#endif
_Jv_JNI_Init
();
...
...
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