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

@@ -18,16 +18,15 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2015 Gary Mills
  * Copyright (c) 1995, by Sun Microsystems, Inc.
  * All rights reserved.
  */
 
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 /*
  * doupdate.c
  *
  * XCurses Library
  *

@@ -911,11 +910,11 @@
         int (*oldsig)(int) = signal(SIGTSTP, SIG_IGN);
 #endif
 
 #ifdef M_CURSES_TYPEAHEAD
         unsigned char cc;
-        int min, time, icanon;
+        volatile int min, time, icanon;
 
         if (__m_screen->_flags & S_ISATTY) {
                 /* Set up non-blocking input for typeahead trapping. */
                 min = cur_term->_prog.c_cc[VMIN];
                 time = cur_term->_prog.c_cc[VTIME];