Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 445878 Details for
Bug 593922
sys-block/thin-provisioning-tools-0.6.1 build failure with gcc-6.2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc-6.2 build patch
thin-provisioning-0.6.1_gcc-6.2.0.patch (text/plain), 1.18 KB, created by
vltg0903
on 2016-09-16 06:40:56 UTC
(
hide
)
Description:
gcc-6.2 build patch
Filename:
MIME Type:
Creator:
vltg0903
Created:
2016-09-16 06:40:56 UTC
Size:
1.18 KB
patch
obsolete
>diff -Naur thin-provisioning-tools-0.6.1.orig/thin-provisioning/restore_emitter.cc thin-provisioning-tools-0.6.1/thin-provisioning/restore_emitter.cc >--- thin-provisioning-tools-0.6.1.orig/thin-provisioning/restore_emitter.cc 2016-09-16 04:59:20.729894740 +0100 >+++ thin-provisioning-tools-0.6.1/thin-provisioning/restore_emitter.cc 2016-09-16 05:00:30.089893981 +0100 >@@ -142,7 +142,7 @@ > bool device_exists(thin_dev_t dev) const { > uint64_t key[1] = {dev}; > device_tree::maybe_value v = md_->details_->lookup(key); >- return v; >+ return v.is_initialized(); > } > > metadata::ptr md_; >diff -Naur thin-provisioning-tools-0.6.1.orig/thin-provisioning/thin_pool.cc thin-provisioning-tools-0.6.1/thin-provisioning/thin_pool.cc >--- thin-provisioning-tools-0.6.1.orig/thin-provisioning/thin_pool.cc 2016-09-16 04:59:20.729894740 +0100 >+++ thin-provisioning-tools-0.6.1/thin-provisioning/thin_pool.cc 2016-09-16 05:00:12.139894177 +0100 >@@ -232,7 +232,7 @@ > thin_pool::device_exists(thin_dev_t dev) const > { > uint64_t key[1] = {dev}; >- return md_->details_->lookup(key); >+ return md_->details_->lookup(key).is_initialized(); > } > > //----------------------------------------------------------------
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 593922
: 445878