wget-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wget2 | Add --background support for Windows (!464)


From: Tim Rühsen
Subject: Re: wget2 | Add --background support for Windows (!464)
Date: Mon, 27 Jan 2020 09:22:29 +0000



Tim Rühsen started a new discussion on src/wget.c: 
https://gitlab.com/gnuwget/wget2/merge_requests/464#note_277197381

>  }
>  
>  #ifdef _WIN32
> +/*
> + * Construct the name for a named section (a.k.a. `file mapping') object.
> + * The returned string is dynamically allocated and needs to be xfree()'d.
> + */
> +static char * make_section_name(DWORD pid)
> +{
> +    char *str;
> +    wget_asprintf(&str, "gnu_wget_fake_fork_%lu", pid);

You can make use of `wget_aprintf()` here.

-- 
Reply to this email directly or view it on GitLab: 
https://gitlab.com/gnuwget/wget2/merge_requests/464#note_277197381
You're receiving this email because of your account on gitlab.com.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]