[parrot/parrot] 7f5862: [os] expose unlink and rmdir as separate methods

GitHub noreply at github.com
Fri Feb 24 13:16:45 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: 7f58626e9653201edf6e4fdf4608eef302dfd540
      https://github.com/parrot/parrot/commit/7f58626e9653201edf6e4fdf4608eef302dfd540
  Author: Moritz Lenz <moritz at faui2k3.org>
  Date:   2012-02-24 (Fri, 24 Feb 2012)

  Changed paths:
    M src/dynpmc/os.pmc

  Log Message:
  -----------
  [os] expose unlink and rmdir as separate methods

Perl 6 wants them separate, so it is much more convenient this way.
Also the .rm approach is prone to race conditions between the stat and
the unlink/rmdir call





More information about the parrot-commits mailing list