[asterisk-bugs] [Asterisk 0013002]: [patch] janitor task to substitute in-line sizeof() for array_len to calculate the length of arrays

noreply at bugs.digium.com noreply at bugs.digium.com
Tue Jul 8 11:33:27 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=13002 
====================================================================== 
Reported By:                caio1982
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13002
Category:                   General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 128490 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             07-06-2008 14:22 CDT
Last Modified:              07-08-2008 11:33 CDT
====================================================================== 
Summary:                    [patch] janitor task to substitute in-line sizeof()
for array_len to calculate the length of arrays
Description: 
Just noticed this new dirty janitor job in doc/janitor-projects.txt. Maybe
there are still some missing statements out there but these were the easy
ones to find and I also took advantage of the cleanup and add some if
braces.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 07-08-08 11:33  
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 129045

U   trunk/apps/app_adsiprog.c
U   trunk/apps/app_meetme.c
U   trunk/apps/app_parkandannounce.c
U   trunk/channels/chan_dahdi.c
U   trunk/channels/chan_iax2.c
U   trunk/channels/chan_sip.c
U   trunk/channels/h323/ast_h323.cxx
U   trunk/channels/iax2-provision.c
U   trunk/formats/format_pcm.c
U   trunk/main/acl.c
U   trunk/main/callerid.c
U   trunk/main/channel.c
U   trunk/main/frame.c
U   trunk/main/logger.c
U   trunk/main/manager.c
U   trunk/main/pbx.c
U   trunk/main/rtp.c
U   trunk/pbx/dundi-parser.c
U   trunk/res/res_limit.c

------------------------------------------------------------------------
r129045 | bbryant | 2008-07-08 11:33:13 -0500 (Tue, 08 Jul 2008) | 7 lines

Janitor project to convert sizeof to ARRAY_LEN macro.

(closes issue http://bugs.digium.com/view.php?id=13002)
Reported by: caio1982
Patches:
      janitor_arraylen5.diff uploaded by caio1982 (license 22)

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

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

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
07-08-08 11:33  svnbot         Note Added: 0089895                          
======================================================================




More information about the asterisk-bugs mailing list