Proposal: removeDirectoryRecursive should not follow symlinks

Andreas Abel andreas.abel at ifi.lmu.de
Tue Jan 6 11:33:40 UTC 2015


I also consider this a bugfix.  Bugfixes (hopefully) change semantics 
and break backwards-compatibility (but in a good way).

+1 for fixing and backporting as far as possible.

On 06.01.2015 08:53, Milan Straka wrote:
> 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
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://www.haskell.org/mailman/listinfo/libraries
>


-- 
Andreas Abel  <><      Du bist der geliebte Mensch.

Department of Computer Science and Engineering
Chalmers and Gothenburg University, Sweden

andreas.abel at gu.se
http://www2.tcs.ifi.lmu.de/~abel/


More information about the Libraries mailing list