Disabled BeOS work-arounds for Haiku.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25170 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
425b1199b0
commit
e6f011edbe
|
@ -3137,7 +3137,7 @@ execute_builtin_or_function (words, builtin, var, redirects,
|
|||
void
|
||||
setup_async_signals ()
|
||||
{
|
||||
#if defined (__BEOS__)
|
||||
#if defined (__BEOS__) && !defined (__HAIKU__)
|
||||
set_signal_handler (SIGHUP, SIG_IGN); /* they want csh-like behavior */
|
||||
#endif
|
||||
|
||||
|
|
|
@ -335,7 +335,7 @@ sh_validfd (fd)
|
|||
/* There is a bug in the NeXT 2.1 rlogind that causes opens
|
||||
of /dev/tty to fail. */
|
||||
|
||||
#if defined (__BEOS__)
|
||||
#if defined (__BEOS__) && !defined (__HAIKU__)
|
||||
/* On BeOS, opening in non-blocking mode exposes a bug in BeOS, so turn it
|
||||
into a no-op. This should probably go away in the future. */
|
||||
# undef O_NONBLOCK
|
||||
|
|
|
@ -446,7 +446,7 @@ sigint_sighandler (sig)
|
|||
if (interrupt_immediately)
|
||||
{
|
||||
interrupt_immediately = 0;
|
||||
#ifdef __BEOS__
|
||||
#if defined (__BEOS__) && !defined (__HAIKU__)
|
||||
/* XXXdbg -- throw_to_top_level() calls longjmp() which leaves our
|
||||
sigmask in a screwed up state so we reset it here. */
|
||||
/* FIXME - fnf: Is this a generic problem with bash, or something
|
||||
|
|
|
@ -140,7 +140,7 @@ initialize_traps ()
|
|||
set_signal_handler (SIGINT, original_signals[SIGINT]);
|
||||
sigmodes[SIGINT] |= SIG_SPECIAL;
|
||||
|
||||
#if defined (__BEOS__)
|
||||
#if defined (__BEOS__) && !defined (__HAIKU__)
|
||||
/* BeOS sets SIGINT to SIG_IGN! */
|
||||
original_signals[SIGINT] = SIG_DFL;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue