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

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


The following issue has been RESOLVED. 
====================================================================== 
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:                     resolved
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
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
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-12-09 19:09 svnbot         Status                   assigned => resolved
2008-12-09 19:09 svnbot         Resolution               open => fixed       
======================================================================




More information about the asterisk-bugs mailing list