diff options
Diffstat (limited to 'sdk/recipes/patches/libcurl/ppc-amigaos/src.tool_operate.c.p')
-rw-r--r-- | sdk/recipes/patches/libcurl/ppc-amigaos/src.tool_operate.c.p | 29 |
1 files changed, 7 insertions, 22 deletions
diff --git a/sdk/recipes/patches/libcurl/ppc-amigaos/src.tool_operate.c.p b/sdk/recipes/patches/libcurl/ppc-amigaos/src.tool_operate.c.p index 6237496..4c9a726 100644 --- a/sdk/recipes/patches/libcurl/ppc-amigaos/src.tool_operate.c.p +++ b/sdk/recipes/patches/libcurl/ppc-amigaos/src.tool_operate.c.p @@ -1,26 +1,11 @@ ---- src/tool_operate.c.orig 2019-02-14 14:10:08.086190650 +0000 -+++ src/tool_operate.c 2019-02-14 14:10:04.862196063 +0000 -@@ -33,6 +33,10 @@ - # include <fabdef.h> - #endif - -+#ifdef __AMIGA__ -+#include <proto/dos.h> -+#endif -+ - #include "strcase.h" - - #define ENABLE_CURLX_PRINTF -@@ -1856,9 +1860,9 @@ - #ifdef __AMIGA__ - if(!result && outs.s_isreg && outs.filename) { +--- src/tool_operate.c 2019-03-30 12:33:41.315465662 +0000 ++++ src/tool_operate.c 2019-03-30 12:42:36.643382219 +0000 +@@ -1872,7 +1872,7 @@ static CURLcode operate_do(struct Global /* Set the url (up to 80 chars) as comment for the file */ -- if(strlen(url) > 78) -- url[79] = '\0'; -- SetComment(outs.filename, url); -+ if(strlen(urlnode->url) > 78) -+ urlnode->url[79] = '\0'; -+ /*SetComment(outs.filename, urlnode->url);*/ /* cannot get a header to include that provides this function */ + if(strlen(urlnode->url) > 78) + urlnode->url[79] = '\0'; +- SetComment(outs.filename, urlnode->url); ++ IDOS->SetComment(outs.filename, urlnode->url); } #endif |