Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 538544 Details for
Bug 625158
dev-db/tokumx-2.0.2 : /.../collection_map.h:69:41: error: cannot convert const boost::shared_ptr<mongo::storage::Dictionary> to bool in return
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 'undefined reference in libHotBackup.so'
tokumx-2.0.2-copier.cc.patch (text/plain), 1.51 KB, created by
Mariusz Ceier
on 2018-07-06 11:50:17 UTC
(
hide
)
Description:
patch for 'undefined reference in libHotBackup.so'
Filename:
MIME Type:
Creator:
Mariusz Ceier
Created:
2018-07-06 11:50:17 UTC
Size:
1.51 KB
patch
obsolete
>diff -uNr a/src/third_party/backup/copier.cc b/src/third_party/backup/copier.cc >--- a/src/third_party/backup/copier.cc 2018-07-06 12:43:52.698825122 +0200 >+++ b/src/third_party/backup/copier.cc 2018-07-06 12:41:40.066804121 +0200 >@@ -107,10 +107,12 @@ > int r = 0; > char *fname = 0; > size_t n_known = 0; >+ char *dupname; > { > with_mutex_locked tm(&m_todo_mutex, BACKTRACE(NULL)); > // Start with "." >- m_todo.push_back(strdup(".")); >+ dupname = strdup("."); >+ m_todo.push_back(dupname); > n_known = m_todo.size(); > } > while (n_known != 0) { >@@ -697,6 +699,7 @@ > int error = 0; > with_mutex_locked tm(&m_todo_mutex, BACKTRACE(NULL)); > struct dirent const *e = NULL; >+ char *dupname; > while((e = readdir(dir)) != NULL) { > if (!the_manager.copy_is_enabled()) break; > if(is_dot(e)) { >@@ -716,8 +719,9 @@ > goto out; > } > >+ dupname = strdup(new_name); > // Add it to our todo list. >- m_todo.push_back(strdup(new_name)); >+ m_todo.push_back(dupname); > TRACE("~~~Added this file to todo list:", new_name); > } > } >@@ -730,7 +734,9 @@ > // > void copier::add_file_to_todo(const char *file) throw() { > with_mutex_locked tm(&m_todo_mutex, BACKTRACE(NULL)); >- m_todo.push_back(strdup(file)); >+ char *dupname; >+ dupname = strdup(file); >+ m_todo.push_back(dupname); > } > > ////////////////////////////////////////////////////////////////////////////////
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 625158
:
484688
|
484690
|
484692
|
484694
|
484696
|
484698
|
484700
|
538162
|
538542
|
538544
|
538646