[ruby-cvs:52866] ngoto:r45720 (trunk): * lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition to

ngoto at ruby-lang.org ngoto at ruby-lang.org
Fri Apr 25 23:28:57 JST 2014


ngoto	2014-04-25 23:28:56 +0900 (Fri, 25 Apr 2014)

  New Revision: 45720

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=45720

  Log:
    * lib/fileutils.rb (rmdir): rescue Errno::EEXIST in addition to
      ENOTEMPTY (and ENOENT), because SUSv3 describes that "If the
      directory is not an empty directory, rmdir() shall fail and set
      errno to [EEXIST] or [ENOTEMPTY]" and Solaris uses EEXIST.
      [Bug #9571] [ruby-dev:48017]

  Modified files:
    trunk/ChangeLog
    trunk/lib/fileutils.rb


More information about the ruby-cvs mailing list