Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 51956 Details for
Bug 48303
baselayout: weird messages "RC_DEPEND_TREE ..."
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch using a temporary file
gendepends.patch (text/plain), 1.03 KB, created by
Stefan Hoefer
on 2005-02-23 09:14:55 UTC
(
hide
)
Description:
Patch using a temporary file
Filename:
MIME Type:
Creator:
Stefan Hoefer
Created:
2005-02-23 09:14:55 UTC
Size:
1.03 KB
patch
obsolete
>--- gendepends.awk.orig 2005-02-23 18:00:58.385854952 +0100 >+++ gendepends.awk 2005-02-23 17:48:27.000000000 +0100 >@@ -335,9 +335,19 @@ > DEPTYPES = ENVIRON["DEPTYPES"] > ORDTYPES = ENVIRON["ORDTYPES"] > >- CACHEDTREE = SVCDIR "/deptree" >- >- assert(dosystem("rm -f " CACHEDTREE ), "system(rm -f " CACHEDTREE ")") >+ #CACHEDTREE = SVCDIR "/deptree" >+ ORIGCACHEDTREE = SVCDIR "/deptree" >+ >+ # Since this could be called more than once simultaneously, use a >+ # temporary cache and rename when finished. See bug 48303 >+ ("/bin/mktemp "SVCDIR"/treecache.XXXXXXX") | getline CACHEDTREE >+ if (CACHEDTREE == "") { >+ eerror("Failed to create temporary cache!") >+ exit 1 >+ } >+ >+ #assert(dosystem("rm -f " CACHEDTREE ), "system(rm -f " CACHEDTREE ")") >+ assert(dosystem("rm -f " ORIGCACHEDTREE ), "system(rm -f " ORIGCACHEDTREE ")") > } > > { >@@ -486,6 +496,8 @@ > print "LOGGER_SERVICE=" >> (CACHEDTREE) > > close(CACHEDTREE) >+ >+ system("mv "CACHEDTREE" "ORIGCACHEDTREE) > } > >
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 48303
:
33428
| 51956