]> git.pld-linux.org Git - packages/wget.git/blame - wget-largefile_32bit.patch
patch to fix large files trimmed to 2G on arm and possibly other 32bit arches; rel 2
[packages/wget.git] / wget-largefile_32bit.patch
CommitLineData
0c7b0025
JP
1From 90631a6fe54eabd9c80ede5c70bc916719e76cfe Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Tim=20R=C3=BChsen?= <tim.ruehsen@gmx.de>
3Date: Sun, 11 Apr 2021 12:53:16 +0200
4Subject: * src/wget.h: Use strtoll() for str_to_wgint
5
6This fixes a regression reported at https://savannah.gnu.org/bugs/?60353.
7
8Reported-by: Michal Ruprich
9---
10 src/wget.h | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/wget.h b/src/wget.h
14index cbac4678..23f0350d 100644
15--- a/src/wget.h
16+++ b/src/wget.h
17@@ -144,7 +144,7 @@ typedef int64_t wgint;
18 #define WGINT_MAX INT64_MAX
19 typedef wgint SUM_SIZE_INT;
20
21-#define str_to_wgint strtol
22+#define str_to_wgint strtoll
23
24 #include "options.h"
25
26--
27cgit v1.2.1
28
This page took 0.061544 seconds and 4 git commands to generate.