[phobos] [D-Programming-Language/phobos] 6f05d3: Accept EISDIR as an error code for mkdir.

GitHub via phobos phobos at puremagic.com
Wed Jun 3 23:21:27 PDT 2015


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 6f05d3bad56a43870195b73821ca7e748438c6b4
      https://github.com/D-Programming-Language/phobos/commit/6f05d3bad56a43870195b73821ca7e748438c6b4
  Author: Tony Tung <tonytung at merly.org>
  Date:   2015-06-02 (Tue, 02 Jun 2015)

  Changed paths:
    M std/file.d

  Log Message:
  -----------
  Accept EISDIR as an error code for mkdir.

Older versions of Linux, older versions of FreeBSD, and current versions
of Darwin can return EISDIR to signal an existing directory[1].  Accept
that as a possible return code.

[1] http://cr.yp.to/docs/unixport.html


  Commit: 929abe982341f39a4b3f8accaa660d97739503ba
      https://github.com/D-Programming-Language/phobos/commit/929abe982341f39a4b3f8accaa660d97739503ba
  Author: Andrei Alexandrescu <andrei at erdani.com>
  Date:   2015-06-03 (Wed, 03 Jun 2015)

  Changed paths:
    M std/file.d

  Log Message:
  -----------
  Merge pull request #3361 from ttung/eisdir

Accept EISDIR as an error code for mkdir(2)


Compare: https://github.com/D-Programming-Language/phobos/compare/e09672b2f641...929abe982341


More information about the phobos mailing list