Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 144290 Details for
Bug 211067
repoman fails to commit Manifest from overlay under some conditions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix path inconsistencies induced by symlinks
symlink_fix.patch (text/plain), 865 bytes, created by
Zac Medico
on 2008-02-22 06:50:38 UTC
(
hide
)
Description:
fix path inconsistencies induced by symlinks
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-02-22 06:50:38 UTC
Size:
865 bytes
patch
obsolete
>Index: bin/repoman >=================================================================== >--- bin/repoman (revision 9365) >+++ bin/repoman (revision 9366) >@@ -614,12 +614,12 @@ > # the current working directory (from the shell). > mydir = os.environ["PWD"] > mydir = normalize_path(mydir) >-path_ids = set() >+path_ids = {} > p = mydir > s = None > while True: > s = os.stat(p) >- path_ids.add((s.st_dev, s.st_ino)) >+ path_ids[(s.st_dev, s.st_ino)] = p > if p == "/": > break > p = os.path.dirname(p) >@@ -632,10 +632,12 @@ > s = os.stat(overlay) > except OSError: > continue >- overlay_id = (s.st_dev, s.st_ino) >+ overlay = path_ids.get((s.st_dev, s.st_ino)) >+ if overlay is None: >+ continue > if overlay[-1] != "/": > overlay += "/" >- if overlay_id in path_ids: >+ if True: > portdir_overlay = overlay > subdir = mydir[len(overlay):] > if subdir and subdir[-1] != "/":
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 211067
: 144290