Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.30
 
1.31
 
MAIN:ragge:20101211142537
 
local.c
_>9696         if (p->n_sp->sflags & SBEENHERE)
 9797                 return p;
 9898 
<>99 -        c = p->n_sp->soname ? p->n_sp->soname : p->n_sp->sname;
  99+        c = p->n_sp->soname ? p->n_sp->soname : exname(p->n_sp->sname);
100100 #ifdef notdef
 101101         g = ISFTN(p->n_sp->stype) ? "@PLT" : "@GOTPCREL";
 102102 #endif
     
 !
979979 char *
 980980 exname(char *p)
 981981 {
<> 982+#ifdef MACHOABI
  983+
  984+#define NCHNAM  256
  985+        static char text[NCHNAM+1];
  986+        int i;
  987+
  988+        if (p == NULL)
  989+                return "";
  990+
  991+        text[0] = '_';
  992+        for (i=1; *p && i<NCHNAM; ++i)
  993+                text[i] = *p++;
  994+
  995+        text[i] = '\0';
  996+        text[NCHNAM] = '\0'/* truncate */
  997+
  998+        return (text);
  999+#else
9821000         return (p == NULL ? "" : p);
<> 1001+#endif
<_9831002 }
 9841003 
 9851004 /*
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-09-01 15:46 +0200