Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 90721 Details for
Bug 134279
[GCC 4.1] stabilise app-arch/dpkg-1.13.11
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for gcc-4.1.1
dpkg-1.10.28-gcc4.1.patch (text/plain), 1.13 KB, created by
Alexandre Buisse (RETIRED)
on 2006-07-02 16:43:20 UTC
(
hide
)
Description:
Patch for gcc-4.1.1
Filename:
MIME Type:
Creator:
Alexandre Buisse (RETIRED)
Created:
2006-07-02 16:43:20 UTC
Size:
1.13 KB
patch
obsolete
>--- dpkg-1.10.28/lib/mlib.c.old 2006-07-03 01:39:12.000000000 +0200 >+++ dpkg-1.10.28/lib/mlib.c 2006-07-03 01:39:53.000000000 +0200 >@@ -189,7 +189,9 @@ > switch(data->type) { > case BUFFER_WRITE_BUF: > memcpy(data->data.ptr, buf, length); >- (char*)data->data.ptr += length; >+ char* tmp; >+ tmp = (char*)data->data.ptr + length; >+ data->data.ptr = tmp; > break; > case BUFFER_WRITE_VBUF: > varbufaddbuf((struct varbuf *)data->data.ptr, buf, length); >--- dpkg-1.10.28/include/parsedump.h.old 2006-07-03 01:38:08.000000000 +0200 >+++ dpkg-1.10.28/include/parsedump.h 2006-07-03 01:38:49.000000000 +0200 >@@ -30,7 +30,6 @@ > const char *canon; > }; > >-extern const struct fieldinfo fieldinfos[]; > extern const struct nickname nicknames[]; > extern const int nfields; /* = elements in fieldinfos, including the sentinels */ > >@@ -68,6 +67,8 @@ > unsigned int integer; > }; > >+extern const struct fieldinfo fieldinfos[]; >+ > void parseerr(FILE *file, const char *filename, int lno, FILE *warnto, int *warncount, > const struct pkginfo *pigp, int warnonly, > const char *fmt, ...) PRINTFFORMAT(8,9);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 134279
: 90721