projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Have just one debug test, and don't use timers during gdb operations.
[m6w6/libmemcached]
/
libtest
/
vchar.cc
diff --git
a/libtest/vchar.cc
b/libtest/vchar.cc
index fde0127f8d0da8fe2054e5eaf023383f60f1c893..1473509fa1383abd3bf996a7c5db46a86633953e 100644
(file)
--- a/
libtest/vchar.cc
+++ b/
libtest/vchar.cc
@@
-34,7
+34,7
@@
*
*/
*
*/
-#include
<config.h>
+#include
"mem_config.h"
#include <libtest/common.h>
namespace libtest {
#include <libtest/common.h>
namespace libtest {
@@
-81,6
+81,7
@@
void make(libtest::vchar_t& arg)
void make(libtest::vchar_t& arg, size_t length)
{
void make(libtest::vchar_t& arg, size_t length)
{
+ arg.reserve(length);
for (uint32_t x= 0; x < length; x++)
{
arg.push_back(char(x % 127));
for (uint32_t x= 0; x < length; x++)
{
arg.push_back(char(x % 127));