Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 53162 Details for
Bug 84828
mpack fails to build. malloc prototype definition clash
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fixes for malloc prototypes and mkstemp
mpack.diff (text/plain), 824 bytes, created by
Clemens Fruhwirth
on 2005-03-11 01:59:31 UTC
(
hide
)
Description:
fixes for malloc prototypes and mkstemp
Filename:
MIME Type:
Creator:
Clemens Fruhwirth
Created:
2005-03-11 01:59:31 UTC
Size:
824 bytes
patch
obsolete
>--- mpack/xmalloc.c 2005-03-11 10:51:39.000000000 +0100 >+++ mpack/xmalloc.c 2005-03-11 10:51:39.000000000 +0100 >@@ -24,7 +24,7 @@ > */ > #include <stdio.h> > #include <string.h> >-extern char *malloc(), *realloc(); >+extern void *malloc(), *realloc(); > > char *xmalloc (size) > int size; >--- mpack/unixos.c 2005-03-11 10:51:27.000000000 +0100 >+++ mpack/unixos.c 2005-03-11 10:51:27.000000000 +0100 >@@ -37,7 +37,7 @@ > #endif > > extern int errno; >-extern char *malloc(); >+extern void *malloc(); > extern char *getenv(); > > int overwrite_files = 0; >--- mpack/unixpk.c 2005-03-11 10:53:22.000000000 +0100 >+++ mpack/unixpk.c 2005-03-11 10:53:22.000000000 +0100 >@@ -165,7 +165,7 @@ > strcpy(fnamebuf, "/tmp"); > } > strcat(fnamebuf, "/mpackXXXXXX"); >- mktemp(fnamebuf); >+ mkstemp(fnamebuf); > outfname = strsave(fnamebuf); > } >
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 84828
: 53162