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

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libcurses/screen/tparm.c
          +++ new/usr/src/lib/libcurses/screen/tparm.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) 1996-1997 by Sun Microsystems, Inc.
  24   25   * All rights reserved.
  25   26   */
  26   27  
  27   28  /*      Copyright (c) 1988 AT&T */
  28   29  /*        All Rights Reserved   */
  29   30  
  30      -
  31      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  32      -
  33   31  /* Copyright (c) 1979 Regents of the University of California */
  34   32  
  35   33  /*LINTLIBRARY*/
  36   34  
  37   35  #include        "curses_inc.h"
  38   36  #include        "curshdr.h"
  39   37  #include        "term.h"
  40   38  #include        <string.h>
  41   39  #include        <setjmp.h>
  42   40  #include        <stdlib.h>
↓ open down ↓ 210 lines elided ↑ open up ↑
 253  251          static  char    added[100];
 254  252          long            vars[26];
 255  253          STACK           stk;
 256  254          char            *cp = instring;
 257  255          char            *outp = result;
 258  256          char            c;
 259  257          long            op;
 260  258          long            op2;
 261  259          int             sign;
 262  260          int             onrow = 0;
 263      -        long            p1 = fp1, p2 = fp2;  /* copy in case < 2 actual parms */
      261 +        volatile long   p1 = fp1, p2 = fp2; /* copy in case < 2 actual parms */
 264  262          char            *xp;
 265  263          char            formatbuffer[100];
 266  264          char            *format;
 267  265          int             looping;
 268  266          short           *regs = cur_term->_regs;
 269  267          int             val;
 270  268  
 271  269  
 272  270          if ((val = setjmp(env)) != 0) {
 273  271  #ifdef DEBUG
↓ open down ↓ 482 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX