[BusyBox 0000729]: [PORTABILITY] GNU getopt required

bugs at busybox.net bugs at busybox.net
Sun Jun 4 11:13:07 UTC 2006


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=729 
====================================================================== 
Reported By:                rfelker
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   729
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             02-18-2006 10:20 PST
Last Modified:              06-04-2006 04:13 PDT
====================================================================== 
Summary:                    [PORTABILITY] GNU getopt required
Description: 
If GNU getopt_long is required, busybox should include and optionally use
its own copy of getopt.c and getopt.h for systems which do not have this
GNU extension.

====================================================================== 

---------------------------------------------------------------------- 
 bernhardf - 04-12-06 11:56  
---------------------------------------------------------------------- 
This calls for global config option to turn all getopt_long off in one
sweep. 

---------------------------------------------------------------------- 
 bernhardf - 06-04-06 04:13  
---------------------------------------------------------------------- 
We now have a CONFIG_GETOPT_LONG.
If you turn it off, then the long options are configured out (i.e. not
strictly needed any more).

As only run-parts and hdparm currently rely on getopt_long, i'm closing
this report. These two applets should be converted to use
bb_getopt_ulflags and not call getopt_long directly. run-parts needs to be
converted to use an llist_t for it's "-a" arguments while being converted
to bb_getopt_long.

patches are -- as always -- welcome :)
cheers, 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-18-06 10:20  rfelker        New Issue                                    
02-18-06 10:20  rfelker        Status                   new => assigned     
02-18-06 10:20  rfelker        Assigned To               => BusyBox         
04-12-06 11:56  bernhardf      Note Added: 0001281                          
06-04-06 04:13  bernhardf      Status                   assigned => closed  
06-04-06 04:13  bernhardf      Note Added: 0001398                          
======================================================================




More information about the busybox-cvs mailing list