[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: wget | Long pathnames patch (!24)
From: |
@jmoellers |
Subject: |
Re: wget | Long pathnames patch (!24) |
Date: |
Mon, 14 Jun 2021 06:37:34 +0000 |
Josef Möllers commented on a discussion on src/url.c:
https://gitlab.com/gnuwget/wget/-/merge_requests/24#note_600196945
> string length. Each quoted char introduces two additional
> characters in the string, hence 2*quoted. */
> outlen = (e - b) + (2 * quoted);
> +# ifdef WINDOWS
> + max_length = MAX_PATH;
> +# else
> + max_length = get_max_length(dest->base, dest->tail, _PC_NAME_MAX);
> +# endif
> + max_length -= CHOMP_BUFFER;
> + if (max_length > 0 && outlen > max_length)
> + {
> + logprintf (LOG_NOTQUIET, "The destination name is too long (%d),
> reducing to %ld\n", outlen, max_length);
BTDT.
Thanks for helping with the appropriate "git" commands. It is still very mucgh
a mystery to me.
Stay healthy!
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget/-/merge_requests/24#note_600196945
You're receiving this email because of your account on gitlab.com.