Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 126719 Details for
Bug 187518
sys-apps/portage-2.1.3.1 crashes on x86-fbsd
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
handle EISDIR thrown from mkdir when the directory already exists
mkdir.patch (text/plain), 447 bytes, created by
Zac Medico
on 2007-08-02 17:31:26 UTC
(
hide
)
Description:
handle EISDIR thrown from mkdir when the directory already exists
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-08-02 17:31:26 UTC
Size:
447 bytes
patch
obsolete
>Index: pym/portage_util.py >=================================================================== >--- pym/portage_util.py (revision 7544) >+++ pym/portage_util.py (revision 7545) >@@ -852,7 +852,7 @@ > created_dir = True > except OSError, oe: > func_call = "makedirs('%s')" % dir_path >- if errno.EEXIST == oe.errno: >+ if oe.errno in (errno.EEXIST, errno.EISDIR): > pass > elif oe.errno == errno.EPERM: > raise OperationNotPermitted(func_call)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 187518
: 126719