15 Mar
2020
15 Mar
'20
5:08 a.m.
On 13/3/20 11:16 am, Allan McRae wrote:
diff --git a/lib/libalpm/dload.h b/lib/libalpm/dload.h index 1e8f75f3..3eb7fbe1 100644 --- a/lib/libalpm/dload.h +++ b/lib/libalpm/dload.h @@ -31,6 +31,7 @@ struct dload_payload { char *destfile_name; char *content_disp_name; char *fileurl; + char *filepath; /* download URL path */ This struct is poorly documented I know... but remote_name seems to store the same information?
@Dave: can that be different in weird server configurations?
After chatting on IRC, we think remote_name can be different with redirection. So adding the extra field is fine. We need a testsuite for the download part of libalpm... A