Quick Search:

Mode

Context

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

Other Diffs

Ignore

Blank Lines Whitespace: Expand:

Diff

1.100
 
1.101
 
MAIN:gmcgarry:20090214051558
 
local.c
_>136136 
 137137         NODE *q, *r;
 138138         struct symtab *sp;
<>139 -        char buf2[64], *name, *pspn;
  139+        char buf2[256], *name, *pspn;
140140 
 141141         if ((name = cftnsp->soname) == NULL)
 142142                 name = cftnsp->sname;
 143143         if ((pspn = p->n_sp->soname) == NULL)
 144144                 pspn = exname(p->n_sp->sname);
 145145         if (p->n_sp->sclass == EXTDEF) {
<>146 -                snprintf(buf2, 64, "-L%s$pb", name);
  146+                snprintf(buf2, 256, "-L%s$pb", name);
147147                 sp = picsymtab("", pspn, buf2);
 148148         } else {
<>149 -                snprintf(buf2, 64, "$non_lazy_ptr-L%s$pb", name);
  149+                snprintf(buf2, 256, "$non_lazy_ptr-L%s$pb", name);
150150                 sp = picsymtab("L", pspn, buf2);
 151151                 addstub(&nlplist, pspn);
 152152         }
     
 !
206206 
 207207         NODE *q, *r;
 208208         struct symtab *sp;
<>209 -        char buf2[64];
  209+        char buf2[256];
210210 
<>211 -        snprintf(buf2, 64, "-L%s$pb",
  211+        snprintf(buf2, 256, "-L%s$pb",
212212             cftnsp->soname ? cftnsp->soname : cftnsp->sname);
 213213 
 214214         if (p->n_sp->slevel > 0) {
<>215 -                char buf1[64];
 216 -                snprintf(buf1, 64, LABFMT, (int)p->n_sp->soffset);
  215+                char buf1[32];
  216+                snprintf(buf1, 32, LABFMT, (int)p->n_sp->soffset);
217217                 sp = picsymtab("", buf1, buf2);
 218218                 sp->sflags |= SNOUNDERSCORE;
 219219         } else  {
     
 !
14231423         NODE *l, *r;
 14241424         TWORD t;
 14251425         int size = 0;
<>1426 -        char buf[64];
  1426+        char buf[256];
14271427 
 14281428         if ((p->n_op == NAME || p->n_op == ICON) &&
 14291429             p->n_sp && (p->n_sp->sflags & SDLLINDIRECT) && p->n_name) {
<>1430 -                snprintf(buf, 64, "__imp_%s", p->n_name);
  1430+                snprintf(buf, 256, "__imp_%s", p->n_name);
14311431                 p->n_name = IALLOC(strlen(buf) + 1);
 14321432                 strcpy(p->n_name, buf);
 14331433                 return;
     
 !
14591459                                 else
 14601460                                         size += szty(t) * SZINT / SZCHAR;
 14611461                         }
<>1462 -                        snprintf(buf, 64, "%s@%d", l->n_name, size);
  1462+                        snprintf(buf, 256, "%s@%d", l->n_name, size);
<_14631463                         l->n_name = IALLOC(strlen(buf) + 1);
 14641464                         strcpy(l->n_name, buf);
 14651465                 }
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-23 13:29 +0200