blob: 2e9ca6485c486563854a795054dceb2ba95eea86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
Debian patch based on the upstream commit below, defuzzed
in the context of the debian package.
commit 90631a6fe54eabd9c80ede5c70bc916719e76cfe
Author: Tim Rühsen <tim.ruehsen@gmx.de>
Date: Sun Apr 11 12:53:16 2021 +0200
* src/wget.h: Use strtoll() for str_to_wgint
This fixes a regression reported at https://savannah.gnu.org/bugs/?60353.
Reported-by: Michal Ruprich
Index: wget-1.21/src/wget.h
===================================================================
--- wget-1.21.orig/src/wget.h
+++ wget-1.21/src/wget.h
@@ -144,7 +144,7 @@ typedef int64_t wgint;
#define WGINT_MAX INT64_MAX
typedef wgint SUM_SIZE_INT;
-#define str_to_wgint strtol
+#define str_to_wgint strtoll
#include "options.h"
|