Proposal: removeDirectoryRecursive should not follow symlinks

Milan Straka fox at ucw.cz
Tue Jan 6 07:53:41 UTC 2015


Hi all,

> -----Original message-----
> From: "Edward Z. Yang" <ezyang at mit.edu>
> Sent: 5 Jan 2015, 14:25
>
> I propose to backwards incompatibly change the behavior of
> removeDirectoryRecursive to not follow symlinks.  We could optionally
> add a replacement function under a new name which does follow symlinks.

+1 to changing behaviour of removeDirectoryRecursive.

-1 to depreciation cycle and a replacement function.

To me, this feels like bugfixing, not backwards incompatible change, as
the current behaviour is unexpected and potentially harmful.

Cheers,
Milan Straka


More information about the Libraries mailing list