1
0
Fork 0

Merge branch 'experiment' of https://github.com/guidoreina/ArangoDB into experiment

This commit is contained in:
Guido Reina 2013-08-13 20:07:17 +02:00
commit 5da5715fa9
4 changed files with 3 additions and 7 deletions

View File

@ -405,7 +405,7 @@ bool TRI_ExistsFile (char const* path) {
/// @brief creates a directory, recursively
////////////////////////////////////////////////////////////////////////////////
bool TRI_CreateRecursiveDirectory (char const* path) {
int TRI_CreateRecursiveDirectory (char const* path) {
char* copy;
char* p;
char* s;

View File

@ -91,7 +91,7 @@ bool TRI_ExistsFile (char const* path);
/// @brief creates a directory, recursively
////////////////////////////////////////////////////////////////////////////////
bool TRI_CreateRecursiveDirectory (char const* path);
int TRI_CreateRecursiveDirectory (char const* path);
////////////////////////////////////////////////////////////////////////////////
/// @brief creates a directory

View File

@ -89,8 +89,6 @@ TRI_blob_t* TRI_CopyBlob (TRI_memory_zone_t* zone, TRI_blob_t const* src) {
return NULL;
}
dst->length = src->length;
if (src->length == 0 || src->data == NULL) {
dst->length = 0;
dst->data = NULL;
@ -115,8 +113,6 @@ TRI_blob_t* TRI_CopyBlob (TRI_memory_zone_t* zone, TRI_blob_t const* src) {
////////////////////////////////////////////////////////////////////////////////
int TRI_CopyToBlob (TRI_memory_zone_t* zone, TRI_blob_t* dst, TRI_blob_t const* src) {
dst->length = src->length;
if (src->length == 0 || src->data == NULL) {
dst->length = 0;
dst->data = NULL;

View File

@ -45,7 +45,7 @@
// .............................................................................
// Some global variables which may be required throughtout the lifetime of the
// Some global variables which may be required throughout the lifetime of the
// server
// .............................................................................