mirror of
https://github.com/mirror/wget.git
synced 2026-08-22 19:03:27 +08:00
[svn] Fix build problems with DEBUG_MALLOC.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2007-02-02 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* netrc.c: Don't make netrc_list static, as it prevents
|
||||
compilation with DEBUG_MALLOC.
|
||||
|
||||
* utils.c (aprintf): Don't use vasprintf when DEBUG_MALLOC is
|
||||
requested because, in that case, we want the calls to malloc to be
|
||||
coming from us.
|
||||
|
||||
2007-01-23 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* cookies.c (parse_set_cookie): Would erroneously discard cookies
|
||||
|
||||
@@ -46,7 +46,7 @@ so, delete this exception statement from your version. */
|
||||
|
||||
#define NETRC_FILE_NAME ".netrc"
|
||||
|
||||
static acc_t *netrc_list;
|
||||
acc_t *netrc_list;
|
||||
|
||||
static acc_t *parse_netrc (const char *);
|
||||
|
||||
|
||||
@@ -159,7 +159,7 @@ sepstring (const char *s)
|
||||
char *
|
||||
aprintf (const char *fmt, ...)
|
||||
{
|
||||
#ifdef HAVE_VASPRINTF
|
||||
#if defined HAVE_VASPRINTF && !defined DEBUG_MALLOC
|
||||
/* Use vasprintf. */
|
||||
int ret;
|
||||
va_list args;
|
||||
|
||||
Reference in New Issue
Block a user