[BusyBox-cvs] [BusyBox 0000227]: sort use wrong type for getopt return variable

bugs at busybox.net bugs at busybox.net
Sun Jul 31 22:34:49 UTC 2005


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=227 
====================================================================== 
Reported By:                jonlar
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   227
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             04-19-2005 00:58 PDT
Last Modified:              07-31-2005 15:34 PDT
====================================================================== 
Summary:                    sort use wrong type for getopt return variable
Description: 
Sort uses a variable of type 'char' when it should be an 'int'. This case
sort applet to issue the usage text instead of realizing its at the end of
the parsing.
 
Including a trival patch.
====================================================================== 

---------------------------------------------------------------------- 
 pgf - 07-20-05 12:08  
---------------------------------------------------------------------- 
Committed revision 10879.
(i couldn't reproduce an error, but the patch is obviously more correct
than the current code.) 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-19-05 00:58  jonlar         New Issue                                    
04-19-05 00:58  jonlar         File Added: bb_sort.diff                     
07-20-05 12:08  pgf            Status                   assigned => resolved
07-20-05 12:08  pgf            Resolution               open => fixed       
07-20-05 12:08  pgf            Note Added: 0000322                          
07-31-05 15:34  vapier         Status                   resolved => closed  
======================================================================




More information about the busybox-cvs mailing list