Updated patches for new cURL version.

This commit is contained in:
LoRd_MuldeR 2025-02-05 23:47:33 +01:00
parent dceca04385
commit 932ba3c58f
4 changed files with 10 additions and 10 deletions

View File

@ -2,10 +2,10 @@
1 file changed, 8 insertions(+)
diff --git a/src/tool_doswin.c b/src/tool_doswin.c
index 301b2974e..6720ad5d7 100644
index 171b063..3ab301a 100644
--- a/src/tool_doswin.c
+++ b/src/tool_doswin.c
@@ -741,6 +741,8 @@ bool tool_isVistaOrGreater;
@@ -739,6 +739,8 @@ bool tool_isVistaOrGreater;
CURLcode win32_init(void)
{
@ -14,7 +14,7 @@ index 301b2974e..6720ad5d7 100644
/* curlx_verify_windows_version must be called during init at least once
because it has its own initialization routine. */
if(curlx_verify_windows_version(6, 0, 0, PLATFORM_WINNT,
@@ -755,6 +757,12 @@ CURLcode win32_init(void)
@@ -753,6 +755,12 @@ CURLcode win32_init(void)
init_terminal();
#endif

View File

@ -2,7 +2,7 @@
1 file changed, 9 insertions(+)
diff --git a/src/tool_getparam.c b/src/tool_getparam.c
index d352c80a5..f0c42ddc8 100644
index 0ae1466..3e54e51 100644
--- a/src/tool_getparam.c
+++ b/src/tool_getparam.c
@@ -23,6 +23,10 @@
@ -16,7 +16,7 @@ index d352c80a5..f0c42ddc8 100644
#include "strcase.h"
#include "curlx.h"
@@ -557,8 +561,13 @@ static void cleanarg(argv_item_t str)
@@ -554,8 +558,13 @@ static void cleanarg(argv_item_t str)
* argument out so that the username:password is not displayed in the
* system process list */
if(str) {

View File

@ -2,10 +2,10 @@
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/tool_operate.c b/src/tool_operate.c
index 2309495d8..2c494e63f 100644
index 007a5e0..0358fcf 100644
--- a/src/tool_operate.c
+++ b/src/tool_operate.c
@@ -3017,11 +3017,15 @@ static CURLcode cacertpaths(struct OperationConfig *config)
@@ -3015,11 +3015,15 @@ static CURLcode cacertpaths(struct OperationConfig *config)
#ifdef _WIN32
if(!env) {
#if defined(CURL_CA_SEARCH_SAFE)

View File

@ -3,10 +3,10 @@
2 files changed, 14 insertions(+), 21 deletions(-)
diff --git a/src/tool_util.c b/src/tool_util.c
index 69b1d2b42..00557fdba 100644
index 8a07889..7ad3fa9 100644
--- a/src/tool_util.c
+++ b/src/tool_util.c
@@ -228,28 +228,21 @@ int tool_ftruncate64(int fd, curl_off_t where)
@@ -216,28 +216,21 @@ int tool_ftruncate64(int fd, curl_off_t where)
#endif /* USE_TOOL_FTRUNCATE */
#ifdef _WIN32
@ -49,7 +49,7 @@ index 69b1d2b42..00557fdba 100644
}
diff --git a/src/tool_util.h b/src/tool_util.h
index 9a4e87dc4..8092c1409 100644
index 9a4e87d..8092c14 100644
--- a/src/tool_util.h
+++ b/src/tool_util.h
@@ -49,7 +49,7 @@ int struplocompare(const char *p1, const char *p2);