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

@@ -18,20 +18,18 @@
  * information: Portions Copyright [yyyy] [name of copyright owner]
  *
  * CDDL HEADER END
  */
 /*
+ * Copyright 2015 Gary Mills
  * Copyright (c) 1996-1997 by Sun Microsystems, Inc.
  * All rights reserved.
  */
 
 /*      Copyright (c) 1988 AT&T */
 /*        All Rights Reserved   */
 
-
-#pragma ident   "%Z%%M% %I%     %E% SMI"
-
 /* Copyright (c) 1979 Regents of the University of California */
 
 /*LINTLIBRARY*/
 
 #include        "curses_inc.h"

@@ -258,11 +256,11 @@
         char            c;
         long            op;
         long            op2;
         int             sign;
         int             onrow = 0;
-        long            p1 = fp1, p2 = fp2;  /* copy in case < 2 actual parms */
+        volatile long   p1 = fp1, p2 = fp2; /* copy in case < 2 actual parms */
         char            *xp;
         char            formatbuffer[100];
         char            *format;
         int             looping;
         short           *regs = cur_term->_regs;