From: adam Date: Sat, 3 Nov 2012 17:47:03 +0000 (+0700) Subject: #1 X-Git-Tag: v1.2.12~643^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d55d0ea7d002aec7bbdb45ede176a872d4473895;p=platform%2Fupstream%2Fejdb.git #1 --- diff --git a/node/ejdb_native.cc b/node/ejdb_native.cc index f37ed1d..8350899 100644 --- a/node/ejdb_native.cc +++ b/node/ejdb_native.cc @@ -1107,7 +1107,7 @@ finish: if (rsz == 0) { return scope.Close(ThrowException(Exception::Error(String::New("Empty cursor")))); } - assert(pos < 0 || pos >= rsz); //m_pos correctly set by s_set_pos + assert(!(pos < 0 || pos >= rsz)); //m_pos correctly set by s_set_pos void *bsdata = TCLISTVALPTR(c->m_rs, pos); assert(bsdata); bson_iterator it; @@ -1129,7 +1129,7 @@ finish: if (rsz == 0) { return scope.Close(ThrowException(Exception::Error(String::New("Empty cursor")))); } - assert(pos < 0 || pos >= rsz); //m_pos correctly set by s_set_pos + assert(!(pos < 0 || pos >= rsz)); //m_pos correctly set by s_set_pos const void *bsdata = TCLISTVALPTR(c->m_rs, pos); assert(bsdata); bson_iterator it; diff --git a/node/nbproject/configurations.xml b/node/nbproject/configurations.xml index bd5be3b..f5b6b8d 100644 --- a/node/nbproject/configurations.xml +++ b/node/nbproject/configurations.xml @@ -63,8 +63,6 @@ - - @@ -155,27 +153,6 @@ - - - - - - - - - - - - - - - - - - - gyp_dummy.c - - @@ -459,7 +436,6 @@ rc4-x86_64.asm - sha1-x86_64.asm sha512-x86_64.asm @@ -484,10 +460,6 @@ cast-586.s - - crypt586.s - des-586.s - md5-586.s @@ -1696,8 +1668,6 @@ - - @@ -3091,8 +3061,6 @@ - - @@ -3160,8 +3128,6 @@ - - @@ -3234,17 +3200,6 @@ - - - - pthread_mutex.h - - ejdb_args.h - ejdb_cmd.h - ejdb_logging.cc - ejdb_logging.h - ejdb_native.cc - ejdb_thread.h