Re: [PATCH v3 01/25] mingw: avoid memory leak when splitting PATH
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 4, 2017, 10:29 UTC
- Message-ID
- <alpine.DEB.2.21.1.1705041225090.4905@virtualbox>
- In-Reply-To
- <789a242b-7369-f24c-0b92-09f415f9fcb5@web.de>
Hi René,
On Wed, 3 May 2017, René Scharfe wrote:
Show 6 quoted lines
> Am 02.05.2017 um 18:00 schrieb Johannes Schindelin: > > In the (admittedly, concocted) case that PATH consists only of colons, we > > would leak the duplicated string. > > Nit: It's about semicolons, right? At least that's what get_path_split > is searching for. Or is there some kind of translation going on?
True, it is semicolons.
I'll reword the commit message to actually use `path delimiters`, to make it more understandable to the Unix folk (who would most likely be puzzled that PATH is separated by semicolons).
Thanks, Dscho