[svn-commits] tilghman: branch 1.4 r64820 - in /branches/1.4: ./ include/asterisk/

svn-commits at lists.digium.com svn-commits at lists.digium.com
Thu May 17 14:19:34 MST 2007


Author: tilghman
Date: Thu May 17 16:19:34 2007
New Revision: 64820

URL: http://svn.digium.com/view/asterisk?view=rev&rev=64820
Log:
Merged revisions 64819 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2

........
r64819 | tilghman | 2007-05-17 16:14:36 -0500 (Thu, 17 May 2007) | 2 lines

How is it that we never caught that this is returning the opposite of our documentation, until now?

........

Modified:
    branches/1.4/   (props changed)
    branches/1.4/include/asterisk/linkedlists.h

Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.

Modified: branches/1.4/include/asterisk/linkedlists.h
URL: http://svn.digium.com/view/asterisk/branches/1.4/include/asterisk/linkedlists.h?view=diff&rev=64820&r1=64819&r2=64820
==============================================================================
--- branches/1.4/include/asterisk/linkedlists.h (original)
+++ branches/1.4/include/asterisk/linkedlists.h Thu May 17 16:19:34 2007
@@ -33,7 +33,7 @@
 
   This macro attempts to place an exclusive lock in the
   list head structure pointed to by head.
-  Returns non-zero on success, 0 on failure
+  Returns 0 on success, non-zero on failure
 */
 #define AST_LIST_LOCK(head)						\
 	ast_mutex_lock(&(head)->lock) 
@@ -44,7 +44,7 @@
 
   This macro attempts to place an exclusive write lock in the
   list head structure pointed to by head.
-  Returns non-zero on success, 0 on failure
+  Returns 0 on success, non-zero on failure
 */
 #define AST_RWLIST_WRLOCK(head)                                         \
         ast_rwlock_wrlock(&(head)->lock)
@@ -55,7 +55,7 @@
 
   This macro attempts to place a read lock in the
   list head structure pointed to by head.
-  Returns non-zero on success, 0 on failure
+  Returns 0 on success, non-zero on failure
 */
 #define AST_RWLIST_RDLOCK(head)                                         \
         ast_rwlock_rdlock(&(head)->lock)
@@ -66,7 +66,7 @@
 
   This macro attempts to place an exclusive lock in the
   list head structure pointed to by head.
-  Returns non-zero on success, 0 on failure
+  Returns 0 on success, non-zero on failure
 */
 #define AST_LIST_TRYLOCK(head)						\
 	ast_mutex_trylock(&(head)->lock) 
@@ -77,7 +77,7 @@
 
   This macro attempts to place an exclusive write lock in the
   list head structure pointed to by head.
-  Returns non-zero on success, 0 on failure
+  Returns 0 on success, non-zero on failure
 */
 #define AST_RWLIST_TRYWRLOCK(head)                                      \
         ast_rwlock_trywrlock(&(head)->lock)
@@ -88,7 +88,7 @@
 
   This macro attempts to place a read lock in the
   list head structure pointed to by head.
-  Returns non-zero on success, 0 on failure
+  Returns 0 on success, non-zero on failure
 */
 #define AST_RWLIST_TRYRDLOCK(head)                                      \
         ast_rwlock_tryrdlock(&(head)->lock)



More information about the svn-commits mailing list