Merge pull request #4970
93e24ddtravis: use debug for one build (Cory Fields)be6d87ascript: don't read past the end (Cory Fields)a94496ftests: don't split an empty string (Cory Fields)00522cddepends: disable reduced exports for debug builds (Cory Fields)1f7fff2depends: add docs for debug (Cory Fields)dc66ff5depends: make LDFLAGS act like the other flags (Cory Fields)b1efba8depends: give miniupnpc cppflags (Cory Fields)1d154dbdepends: teach qt to honor debug/release (Cory Fields)3b63df5depends: boost: build for debug or release as requested (Cory Fields)7e99df7depends: make sure openssl sees cppflags (Cory Fields)f397304depends: add debug/release flags for linux/osx/win (Cory Fields)2027ad3depends: add the debug/release concept to depends (Cory Fields)
This commit is contained in:
@@ -839,7 +839,8 @@ public:
|
||||
itBegin = it;
|
||||
}
|
||||
}
|
||||
s.write((char*)&itBegin[0], it-itBegin);
|
||||
if (itBegin != scriptCode.end())
|
||||
s.write((char*)&itBegin[0], it-itBegin);
|
||||
}
|
||||
|
||||
/** Serialize an input of txTo */
|
||||
|
||||
@@ -16,7 +16,8 @@ BOOST_AUTO_TEST_SUITE(getarg_tests)
|
||||
static void ResetArgs(const std::string& strArg)
|
||||
{
|
||||
std::vector<std::string> vecArg;
|
||||
boost::split(vecArg, strArg, boost::is_space(), boost::token_compress_on);
|
||||
if (strArg.size())
|
||||
boost::split(vecArg, strArg, boost::is_space(), boost::token_compress_on);
|
||||
|
||||
// Insert dummy executable name:
|
||||
vecArg.insert(vecArg.begin(), "testbitcoin");
|
||||
|
||||
Reference in New Issue
Block a user