mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
Undo the USE_GNULIB_ALLOC defines.
This commit is contained in:
parent
2957ce1cbc
commit
2c77220411
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -43,8 +43,6 @@ as that of the covered work. */
|
||||
sites that do send Set-Cookie2 also emit Set-Cookie for
|
||||
compatibility. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include "gen-md5.h"
|
||||
|
@ -27,8 +27,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -31,8 +31,6 @@ as that of the covered work. */
|
||||
/* With -DSTANDALONE, this file can be compiled outside Wget source
|
||||
tree. To test, also use -DTEST. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#ifndef STANDALONE
|
||||
# include "wget.h"
|
||||
#endif
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -89,8 +89,6 @@ as that of the covered work. */
|
||||
/* To test as standalone, compile with `-DSTANDALONE -I.'. You'll
|
||||
still need Wget headers to compile. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#ifdef STANDALONE
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
/* NTLM details:
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#define INHIBIT_WRAP /* avoid wrapping of socket, bind, ... */
|
||||
|
||||
#include "wget.h"
|
||||
|
@ -30,8 +30,6 @@ as that of the covered work. */
|
||||
/* This file used to be kept in synch with the code in Fetchmail, but
|
||||
the latter has diverged since. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -29,8 +29,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <assert.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -50,8 +50,6 @@ as that of the covered work. */
|
||||
double secs = ptimer_measure ();
|
||||
printf ("The loop took %.2fs\n", secs); */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -67,8 +67,6 @@ as that of the covered work. */
|
||||
res_match_path, res_register_specs, res_get_specs, and
|
||||
res_retrieve_file. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -87,8 +87,6 @@
|
||||
*
|
||||
**************************************************************/
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
@ -27,8 +27,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -27,8 +27,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "test.h"
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
|
||||
shall include the source code for the parts of OpenSSL used as well
|
||||
as that of the covered work. */
|
||||
|
||||
#define USE_GNULIB_ALLOC
|
||||
|
||||
#include "wget.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
@ -31,8 +31,6 @@ as that of the covered work. */
|
||||
#ifndef UTILS_H
|
||||
#define UTILS_H
|
||||
|
||||
#ifdef USE_GNULIB_ALLOC
|
||||
|
||||
/* Constant is using when we don`t know attempted size exactly */
|
||||
#define UNKNOWN_ATTEMPTED_SIZE -3
|
||||
|
||||
@ -55,8 +53,6 @@ as that of the covered work. */
|
||||
additional errors. (But we currently don't do that!) */
|
||||
#define xfree_null(p) if (!(p)) ; else xfree (p)
|
||||
|
||||
#endif /* USE_GNULIB_ALLOC */
|
||||
|
||||
struct hash_table;
|
||||
|
||||
struct file_memory {
|
||||
|
@ -208,12 +208,8 @@ typedef double SUM_SIZE_INT;
|
||||
#include "options.h"
|
||||
|
||||
/* Everything uses this, so include them here directly. */
|
||||
#ifdef USE_GNULIB_ALLOC
|
||||
# include <alloca.h>
|
||||
# include "xalloc.h"
|
||||
#else
|
||||
# include "xmalloc.h"
|
||||
#endif
|
||||
#include <alloca.h>
|
||||
#include "xalloc.h"
|
||||
|
||||
/* Likewise for logging functions. */
|
||||
#include "log.h"
|
||||
|
Loading…
Reference in New Issue
Block a user