Subject: Re: bug#57102: 29.0.50; Peculiar file-name-split edge case

From: Philip Kaludercic <[email-masked]>
Date: Mon, 15 Aug 2022 15:57:57 +0000

Lars Ingebrigtsen <[email-masked]> writes:

> Lars Ingebrigtsen <[email-masked]> writes:
>
>> That is, perhaps what we want is
>>
>> (file-name-split "a/b")
>> => '("a" "b")
>>
>> (file-name-split "a/b/")
>> => '("a" "b")
>
> But in that case, this is just a synonym for (split-string foo "/" t).

Plus the ability to do the right thing on the DOS/Windows.