Print this page
5396 gcc 4.8.2 longjmp errors for cscope-fast

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libxcurses/src/libc/xcurses/doupdate.c
          +++ new/usr/src/lib/libxcurses/src/libc/xcurses/doupdate.c
↓ open down ↓ 12 lines elided ↑ open up ↑
  13   13   *
  14   14   * When distributing Covered Code, include this CDDL HEADER in each
  15   15   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   16   * If applicable, add the following below this CDDL HEADER, with the
  17   17   * fields enclosed by brackets "[]" replaced with your own identifying
  18   18   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   19   *
  20   20   * CDDL HEADER END
  21   21   */
  22   22  /*
       23 + * Copyright 2015 Gary Mills
  23   24   * Copyright (c) 1995, by Sun Microsystems, Inc.
  24   25   * All rights reserved.
  25   26   */
  26   27  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   28  /*
  30   29   * doupdate.c
  31   30   *
  32   31   * XCurses Library
  33   32   *
  34   33   * Copyright 1990, 1995 by Mortice Kern Systems Inc.  All rights reserved.
  35   34   *
  36   35   */
  37   36  
  38   37  #ifdef M_RCSID
↓ open down ↓ 867 lines elided ↑ open up ↑
 906  905   */
 907  906  int 
 908  907  doupdate()
 909  908  {
 910  909  #ifdef SIGTSTP
 911  910          int (*oldsig)(int) = signal(SIGTSTP, SIG_IGN);
 912  911  #endif
 913  912  
 914  913  #ifdef M_CURSES_TYPEAHEAD
 915  914          unsigned char cc;
 916      -        int min, time, icanon;
      915 +        volatile int min, time, icanon;
 917  916  
 918  917          if (__m_screen->_flags & S_ISATTY) {
 919  918                  /* Set up non-blocking input for typeahead trapping. */
 920  919                  min = cur_term->_prog.c_cc[VMIN];
 921  920                  time = cur_term->_prog.c_cc[VTIME];
 922  921                  icanon = cur_term->_prog.c_lflag & ICANON;
 923  922  
 924  923                  cur_term->_prog.c_cc[VMIN] = 0;
 925  924                  cur_term->_prog.c_cc[VTIME] = 0;
 926  925                  cur_term->_prog.c_lflag &= ~ICANON;
↓ open down ↓ 150 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX