Quick Search:

Mode

Context

Displaying 3 lines of context. None | Less | More | Full

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.25
 
1.26
 
MAIN:ragge:20101113162241
 
local.c
_>1212  * 2. Redistributions in binary form must reproduce the above copyright
 1313  *    notice, this list of conditions and the following disclaimer in the
 1414  *    documentation and/or other materials provided with the distribution.
<>15 - * 3. The name of the author may not be used to endorse or promote products
 16 - *    derived from this software without specific prior written permission
1715  *
 1816  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
 1917  * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     
 !
807805 {
 808806         union { float f; double d; long double l; int i[3]; } u;
 809807         struct symtab *q;
<> 808+        NODE st;
810809         TWORD t;
 811810         int rel = 0;
 812811 
     
 !
818817         }
 819818 
 820819         t = p->n_type;
<> 820+
  821+        if (kflag && p->n_op == NAME && ISPTR(t) && ISFTN(DECREF(t))) {
  822+                /* functions as initializers will be NAME here */
  823+                st = *p;
  824+                st.n_op = ICON;
  825+                p = &st;
  826+        }
  827+
821828         if (t > BTMASK)
 822829                 t = LONG; /* pointer */
 823830 
     
 !
837844                         } else {
 838845                                 char *name;
 839846                                 if ((name = q->soname) == NULL)
<>840 -                                        name = exname(q->sname);
  847+                                        name = q->sname;
  848+                                /* Never any PIC stuff in static init */
  849+                                if (strchr(name, '@')) {
  850+                                        name = tmpstrdup(name);
  851+                                        *strchr(name, '@') = 0;
  852+                                }
<_841853                                 printf("+%s", name);
 842854                         }
 843855                 }
FishEye: Open Source License registered to PCC.
Your maintenance has expired. You can renew your license at http://www.atlassian.com/fisheye/renew
Atlassian FishEye, CVS analysis. (Version:1.6.3 Build:build-336 2008-11-04) - Administration - Page generated 2014-08-28 15:06 +0200