Summary: | ASTERISK-03043: [PATCH] make list locking macros consistent | ||
Reporter: | Kevin P. Fleming (kpfleming) | Labels: | |
Date Opened: | 2004-12-19 12:59:08.000-0600 | Date Closed: | 2008-01-15 15:17:10.000-0600 |
Priority: | Minor | Regression? | No |
Status: | Closed/Complete | Components: | Core/General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ( 0) listlock_macros_fix_rev1.diff ( 1) listlock_macros_fix_rev1.txt | |
Description: | The lock/unlock macros in linkedlists.h do not wrap references to the "head" argument in parentheses, unlike all the other macros. This makes for inconsistency when calling these macros on a list head structure (not a pointer to a list head structure), because it requires the caller to use an extra pair of parens. This patch corrects the inconsistency. ****** ADDITIONAL INFORMATION ****** Disclaimer is on file. | ||
Comments: | By: Olle Johansson (oej) 2004-12-19 13:08:01.000-0600 ...if you upload files with a .txt extension, it'll make life easier. The browser will display the file in the window then... THank you. /Olle By: Mark Spencer (markster) 2004-12-19 13:35:17.000-0600 Fixed in CVS head, thanks! By: Russell Bryant (russell) 2004-12-19 21:04:47.000-0600 not in 1.0 By: Digium Subversion (svnbot) 2008-01-15 15:17:10.000-0600 Repository: asterisk Revision: 4486 U trunk/include/asterisk/linkedlists.h ------------------------------------------------------------------------ r4486 | markster | 2008-01-15 15:17:09 -0600 (Tue, 15 Jan 2008) | 2 lines Fix little macro (bug ASTERISK-3043) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=4486 |