1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-10-26 19:57:22 +08:00
This commit is contained in:
stefanocasazza
2016-08-23 15:53:17 +02:00
parent 09067ed901
commit d02d2bd581
63 changed files with 1953 additions and 1876 deletions

View File

@@ -396,7 +396,7 @@ protected:
* }
*/
static int32_t getIndexStaticTable(const UString& key);
static int32_t getIndexStaticTable(const UString& key) __pure;
static bool setIndexStaticTable(UHashMap<void*>* table, const char* key, uint32_t length)
{

View File

@@ -16,7 +16,6 @@
#include <ulib/internal/common.h>
#include <errno.h>
#include <setjmp.h>
#ifndef HAVE_SIGINFO_T

View File

@@ -183,7 +183,7 @@ struct U_EXPORT UServices {
UString code(len);
char* ptr = code.data();
for (uint32_t i = 0; i < len; ++i, ++ptr) *ptr = u_alphabet[u_get_num_random(sizeof(u_alphabet) - 3)];
for (uint32_t i = 0; i < len; ++i, ++ptr) *ptr = u_b64[u_get_num_random(sizeof(u_b64) - 3)];
code.size_adjust(len);