Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 134279
Collapse All | Expand All

(-)dpkg-1.10.28/lib/mlib.c.old (-1 / +3 lines)
Lines 189-195 Link Here
189
  switch(data->type) {
189
  switch(data->type) {
190
    case BUFFER_WRITE_BUF:
190
    case BUFFER_WRITE_BUF:
191
      memcpy(data->data.ptr, buf, length);
191
      memcpy(data->data.ptr, buf, length);
192
      (char*)data->data.ptr += length;
192
      char* tmp;
193
      tmp = (char*)data->data.ptr + length;
194
      data->data.ptr = tmp;
193
      break;
195
      break;
194
    case BUFFER_WRITE_VBUF:
196
    case BUFFER_WRITE_VBUF:
195
      varbufaddbuf((struct varbuf *)data->data.ptr, buf, length);
197
      varbufaddbuf((struct varbuf *)data->data.ptr, buf, length);
(-)dpkg-1.10.28/include/parsedump.h.old (-1 / +2 lines)
Lines 30-36 Link Here
30
  const char *canon;
30
  const char *canon;
31
};
31
};
32
32
33
extern const struct fieldinfo fieldinfos[];
34
extern const struct nickname nicknames[];
33
extern const struct nickname nicknames[];
35
extern const int nfields; /* = elements in fieldinfos, including the sentinels */
34
extern const int nfields; /* = elements in fieldinfos, including the sentinels */
36
35
Lines 68-73 Link Here
68
  unsigned int integer;
67
  unsigned int integer;
69
};
68
};
70
69
70
extern const struct fieldinfo fieldinfos[];
71
71
void parseerr(FILE *file, const char *filename, int lno, FILE *warnto, int *warncount,
72
void parseerr(FILE *file, const char *filename, int lno, FILE *warnto, int *warncount,
72
              const struct pkginfo *pigp, int warnonly,
73
              const struct pkginfo *pigp, int warnonly,
73
              const char *fmt, ...) PRINTFFORMAT(8,9);
74
              const char *fmt, ...) PRINTFFORMAT(8,9);

Return to bug 134279