[svn] cmd_bytes now stores wgint, not long.

This commit is contained in:
hniksic 2005-03-19 09:29:25 -08:00
parent 25e3bfdbea
commit b90b20763b
3 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2005-03-12 Hrvoje Niksic <hniksic@xemacs.org>
* wget.h: Include options.h after wgint has been defined.
* options.h (struct options): Declare options processed with
cmd_bytes as wgint, not long.
2005-03-18 Hrvoje Niksic <hniksic@xemacs.org>
* init.c (cmd_file): Use concat_strings.

View File

@ -110,7 +110,7 @@ struct options
double waitretry; /* The wait period between retries. - HEH */
int use_robots; /* Do we heed robots.txt? */
long limit_rate; /* Limit the download rate to this
wgint limit_rate; /* Limit the download rate to this
many bps. */
LARGE_INT quota; /* Maximum file size to download and
store. */
@ -144,7 +144,7 @@ struct options
listings? */
char *dot_style;
long dot_bytes; /* How many bytes in a printing
wgint dot_bytes; /* How many bytes in a printing
dot. */
int dots_in_line; /* How many dots in one line. */
int dot_spacing; /* How many dots between spacings. */

View File

@ -88,7 +88,6 @@ so, delete this exception statement from your version. */
/* Include these, so random files need not include them. */
#include "sysdep.h"
#include "options.h"
/* locale independent replacement for ctype.h */
#include "safe-ctype.h"
@ -125,6 +124,8 @@ typedef off_t wgint;
# endif
#endif
#include "options.h"
/* Everything uses this, so include them here directly. */
#include "xmalloc.h"