[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383)
From: |
Tim Rühsen |
Subject: |
Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383) |
Date: |
Thu, 30 Aug 2018 14:43:54 +0000 |
I think your code (handling escaped chars) could be simplified.
As an idea:
- write a small function like strchrnul() but recognizing '\\' and '\,'., call
it something like _strchrnul_esc(). Use it as replacement for strchrnul.
- write also a replacement for wget_strmemdup(), call it _strmemdup_esc().
With those you won't introduce any new complexity to parse_stringlist_expand().
And both functions are really simple.
--
Reply to this email directly or view it on GitLab:
https://gitlab.com/gnuwget/wget2/merge_requests/383#note_97933302
You're receiving this email because of your account on gitlab.com.
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), (continued)
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/28
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/29
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/29
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/29
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/29
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/29
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/29
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/29
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/30
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/30
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383),
Tim Rühsen <=
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/30
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/30
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/30
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/31
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/31
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/31
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/31
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), Tim Rühsen, 2018/08/31
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/31
- Re: [Wget-dev] wget2 | WIP: Implementation of -I/-X options (!383), DalmeGNU, 2018/08/31