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

From: Lars Ingebrigtsen <[email-masked]>
Date: Mon, 15 Aug 2022 13:28:00 +0200

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).