On 2/19/21 1:16 AM, Pádraig Brady wrote: >> What if we remove any trailing slashes instead on systems where rmdir(2) >> wouldn't follow >> a symlink? > > Sorry, I don't understand your suggestion.
Sorry, scratch that, it doesn't work. Your patch seems to be the best approach. Thanks & have a nice day, Berny