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:
Ingo Weinhold 2008-04-26 00:57:12 +00:00
parent 425b1199b0
commit e6f011edbe
4 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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