Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.229
 
1.230
 
MAIN:ragge:20090208155955
 
trees.c
_>22092209                         if ((q->sclass == STATIC && q->slevel > 0)) {
 22102210                                 printf(LABFMT, q->soffset);
 22112211                         } else
<>2212 -                                printf("%s\n", exname(q->soname));
  2212+                                printf("%s\n",
  2213+                                    q->soname ? q->soname : exname(q->sname));
22132214                 } else
 22142215                         printf("\n");
 22152216                 break;
     
 !
22752276 #endif
 22762277                             ) {
 22772278                                 p->n_name = sptostr(q);
<>2278 -                        } else if (!kflag) {
 2279 -                                char *name = exname(q->soname);
 2280 -                                int n = strlen(name) + 1;
 2281 -                                char *cp = inlalloc(n);
 2282 -
 2283 -                                strlcpy(cp, name, n);
 2284 -                                p->n_name = cp;
 2285 -                        } else
 2286 -                                p->n_name = q->soname;
  2279+                        } else {
  2280+                                if ((p->n_name = q->soname) == NULL)
  2281+                                        p->n_name = addname(exname(q->sname));
  2282+                        }
<_22872283                 } else
 22882284                         p->n_name = "";
 22892285                 break;
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 11:06 +0200