[PATCH] dload: Remove unused ABORT_SIGINT

Allan McRae allan at archlinux.org
Thu Jul 21 10:01:00 UTC 2022


On 6/4/22 13:44, Chris Down wrote:
> The last user of ABORT_SIGINT was removed in commit 84723cab5dfc
> ("Cleanup the old sequential download code"), and this isn't exported as
> part of the public API.
> 
> Signed-off-by: Chris Down <chris at chrisdown.name>
> ---

OK.  Thanks!

>   lib/libalpm/dload.c | 3 +--
>   1 file changed, 1 insertion(+), 2 deletions(-)
> 
> diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
> index 7c27c3ea..4fa17b35 100644
> --- a/lib/libalpm/dload.c
> +++ b/lib/libalpm/dload.c
> @@ -153,8 +153,7 @@ static char *get_fullpath(const char *path, const char *filename,
>   }
>   
>   enum {
> -	ABORT_SIGINT = 1,
> -	ABORT_OVER_MAXFILESIZE
> +	ABORT_OVER_MAXFILESIZE = 1,
>   };
>   
>   static int dload_interrupted;



More information about the pacman-dev mailing list