Diff for /gforth/engine/signals.c between versions 1.28 and 1.29

version 1.28, 2003/08/20 09:23:46 version 1.29, 2006/01/05 01:37:33
Line 401  void install_signal_handlers(void) Line 401  void install_signal_handlers(void)
      SUSv2 ss_sp should point to the start of the stack, but       SUSv2 ss_sp should point to the start of the stack, but
      unfortunately Irix 6.5 (at least) expects ss_sp to point to the       unfortunately Irix 6.5 (at least) expects ss_sp to point to the
      end, so we work around this issue by accomodating everyone. */       end, so we work around this issue by accomodating everyone. */
   if ((sigstack.ss_sp = my_alloc(sigstack.ss_size*2)) != NULL) {    if ((sigstack.ss_sp = gforth_alloc(sigstack.ss_size*2)) != NULL) {
     sigstack.ss_sp += sigstack.ss_size;      sigstack.ss_sp += sigstack.ss_size;
     sigstack.ss_flags=0;      sigstack.ss_flags=0;
     sas_retval=sigaltstack(&sigstack,(stack_t *)0);      sas_retval=sigaltstack(&sigstack,(stack_t *)0);

Removed from v.1.28  
changed lines
  Added in v.1.29


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>