[asterisk-bugs] [Zaptel 0004051]: ztcfg loops while checking command line options

noreply at bugs.digium.com noreply at bugs.digium.com
Sat Jun 7 10:51:31 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=4051 
====================================================================== 
Reported By:                Houdini
Assigned To:                kpfleming
====================================================================== 
Project:                    Zaptel
Issue ID:                   4051
Category:                   Utilities
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Zaptel Version:             Stable 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             04-20-2005 01:58 CDT
Last Modified:              06-07-2008 10:51 CDT
====================================================================== 
Summary:                    ztcfg loops while checking command line options
Description: 
The ztcfg main function checks the command line options.
Because getopt returns an int which is stored in a char, the while loop is
never finished. The trivial fix in additional info fixes the problem.
====================================================================== 

---------------------------------------------------------------------- 
 svnbot - 06-07-08 10:51  
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 644

U   branches/v1-0/ztcfg.c

------------------------------------------------------------------------
r644 | russell | 2008-06-07 10:51:29 -0500 (Sat, 07 Jun 2008) | 2 lines

ensure that getopt return value is handled properly on platforms with
'unsigned char' as the default (bug http://bugs.digium.com/view.php?id=4051)

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

http://svn.digium.com/view/dahdi?view=rev&revision=644 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-07-08 10:51  svnbot         Checkin                                      
06-07-08 10:51  svnbot         Note Added: 0088037                          
======================================================================




More information about the asterisk-bugs mailing list