[asterisk-bugs] [Asterisk 0014032]: [patch] Janitor project to use ARRAY_LEN

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Dec 9 19:09:32 CST 2008


The following issue has been ASSIGNED. 
====================================================================== 
http://bugs.digium.com/view.php?id=14032 
====================================================================== 
Reported By:                bkruse
Assigned To:                file
====================================================================== 
Project:                    Asterisk
Issue ID:                   14032
Category:                   General
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 161869 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             2008-12-08 16:36 CST
Last Modified:              2008-12-09 19:09 CST
====================================================================== 
Summary:                    [patch] Janitor project to use ARRAY_LEN
Description: 
Noticed this in doc/janitor-projects.txt

Uploaded a patch, also, a sed one liner for finding and fixing these.

For example: 

sed 's/sizeof(\(.*\))\/sizeof(.*\[0\])/ARRAY_LEN(\1)/g'
doc/janitor-projects.txt

-bk
====================================================================== 

---------------------------------------------------------------------- 
 (0096063) svnbot (reporter) - 2008-12-09 19:09
 http://bugs.digium.com/view.php?id=14032#c96063 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 162542

U   trunk/apps/app_voicemail.c
U   trunk/channels/iax2-parser.c
U   trunk/doc/janitor-projects.txt

------------------------------------------------------------------------
r162542 | file | 2008-12-09 19:09:32 -0600 (Tue, 09 Dec 2008) | 6 lines

Finish conversion to using ARRAY_LEN and remove it as a janitor project.
(closes issue http://bugs.digium.com/view.php?id=14032)
Reported by: bkruse
Patches:
      14032.patch uploaded by bkruse (license 132)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=162542 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-09 19:09 svnbot         Checkin                                      
2008-12-09 19:09 svnbot         Note Added: 0096063                          
2008-12-09 19:09 svnbot         Status                   confirmed => assigned
2008-12-09 19:09 svnbot         Assigned To               => file            
======================================================================




More information about the asterisk-bugs mailing list