|
From: | DalmeGNU |
Subject: | Re: [Wget-dev] wget2 | * tests/libtest.c: Create directories if needed when creating WGET_TEST_EXISTING_FILES (!440) |
Date: | Thu, 22 Aug 2019 12:50:00 +0000 |
DalmeGNU commented on a discussion on tests/libtest.c: https://gitlab.com/gnuwget/wget2/merge_requests/440#note_206830189 > // create files > if (existing_files) { > for (it = 0; existing_files[it].name; it++) { > + const char *namecpy = > wget_strdup(existing_files[it].name); You can make mkdir_path() allocates and frees the copy of the string as I do there -- Reply to this email directly or view it on GitLab: https://gitlab.com/gnuwget/wget2/merge_requests/440#note_206830189 You're receiving this email because of your account on gitlab.com.
[Prev in Thread] | Current Thread | [Next in Thread] |