1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Fix build problems with DEBUG_MALLOC.

This commit is contained in:
hniksic 2007-02-02 01:35:08 -08:00
parent 0e8788c58c
commit a161efc9ec
3 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -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 *);

View File

@ -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;