|
|
ca590e |
--- ceph-16.2.7/src/include/buffer.h.orig 2022-01-17 12:17:19.193356237 -0500
|
|
|
ca590e |
+++ ceph-16.2.7/src/include/buffer.h 2022-01-17 12:17:58.599639592 -0500
|
|
|
ca590e |
@@ -38,6 +38,7 @@
|
|
|
ca590e |
# include <sys/mman.h>
|
|
|
ca590e |
#endif
|
|
|
ca590e |
|
|
|
ca590e |
+#include <memory>
|
|
|
ca590e |
#include <iosfwd>
|
|
|
ca590e |
#include <iomanip>
|
|
|
ca590e |
#include <list>
|
|
|
ca590e |
--- ceph-16.2.7/src/common/LogEntry.cc.orig 2022-01-17 13:52:10.799134159 -0500
|
|
|
ca590e |
+++ ceph-16.2.7/src/common/LogEntry.cc 2022-01-17 13:52:47.244469274 -0500
|
|
|
ca590e |
@@ -183,7 +183,7 @@
|
|
|
ca590e |
return "crit";
|
|
|
ca590e |
default:
|
|
|
ca590e |
ceph_abort();
|
|
|
ca590e |
- return 0;
|
|
|
ca590e |
+ return "";
|
|
|
ca590e |
}
|
|
|
ca590e |
}
|
|
|
ca590e |
|
|
|
ca590e |
--- ceph-16.2.7/src/test/librados/tier_cxx.cc.orig 2022-01-19 09:30:47.209459506 -0500
|
|
|
ca590e |
+++ ceph-16.2.7/src/test/librados/tier_cxx.cc 2022-01-19 10:02:47.783240298 -0500
|
|
|
ca590e |
@@ -114,7 +114,7 @@
|
|
|
ca590e |
#include "rgw/rgw_common.h"
|
|
|
ca590e |
|
|
|
ca590e |
void check_fp_oid_refcount(librados::IoCtx& ioctx, std::string foid, uint64_t count,
|
|
|
ca590e |
- std::string fp_algo = NULL)
|
|
|
ca590e |
+ std::string fp_algo = "")
|
|
|
ca590e |
{
|
|
|
ca590e |
bufferlist t;
|
|
|
ca590e |
int size = foid.length();
|
|
|
ca590e |
@@ -142,7 +142,7 @@
|
|
|
ca590e |
ASSERT_LE(count, refs.count());
|
|
|
ca590e |
}
|
|
|
ca590e |
|
|
|
ca590e |
-string get_fp_oid(string oid, std::string fp_algo = NULL)
|
|
|
ca590e |
+string get_fp_oid(string oid, std::string fp_algo = "")
|
|
|
ca590e |
{
|
|
|
ca590e |
if (fp_algo == "sha1") {
|
|
|
ca590e |
unsigned char fingerprint[CEPH_CRYPTO_SHA1_DIGESTSIZE + 1];
|
|
|
ca590e |
--- ceph-16.2.7/src/test/test_trans.cc.orig 2022-01-19 13:24:33.460008897 -0500
|
|
|
ca590e |
+++ ceph-16.2.7/src/test/test_trans.cc 2022-01-19 13:24:58.211554005 -0500
|
|
|
ca590e |
@@ -51,7 +51,7 @@
|
|
|
ca590e |
cout << "#dev " << filename << std::endl;
|
|
|
ca590e |
cout << "#mb " << mb << std::endl;
|
|
|
ca590e |
|
|
|
ca590e |
- ObjectStore *fs = new FileStore(cct.get(), filename, NULL);
|
|
|
ca590e |
+ ObjectStore *fs = new FileStore(cct.get(), filename, "");
|
|
|
ca590e |
if (fs->mount() < 0) {
|
|
|
ca590e |
cout << "mount failed" << std::endl;
|
|
|
ca590e |
return -1;
|
|
|
ca590e |
--- ceph-17.0.0-10335-gfd206722/src/s3select/include/s3select_functions.h.orig 2022-02-11 17:21:40.268627997 -0500
|
|
|
ca590e |
+++ ceph-17.0.0-10335-gfd206722/src/s3select/include/s3select_functions.h 2022-02-11 17:21:57.155325437 -0500
|
|
|
ca590e |
@@ -466,7 +466,7 @@
|
|
|
ca590e |
|
|
|
ca590e |
std::string print(int ident) override
|
|
|
ca590e |
{
|
|
|
ca590e |
- return std::string(0);
|
|
|
ca590e |
+ return std::string("");
|
|
|
ca590e |
}
|
|
|
ca590e |
|
|
|
ca590e |
void push_argument(base_statement* arg)
|