Changeset 8163


Ignore:
Timestamp:
11/16/04 17:09:22 (17 years ago)
Author:
piso
Message:

Ignore SIGHUP to work around Linux kernel bug (2.6.9).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/jpty/jpty.c

    r8076 r8163  
    2828#endif
    2929
     30#include <signal.h>
    3031#include <stdlib.h>
    3132#include <unistd.h>
     
    110111
    111112        putenv("TERM=dumb");
     113 
     114  /* Ignore SIGHUP to work around Linux kernel bug (2.6.9).
     115   * http://lkml.org/lkml/2004/10/21/119 */
     116  signal(SIGHUP, SIG_IGN);
    112117
    113118        execvp(argv[i], &argv[i]);
Note: See TracChangeset for help on using the changeset viewer.