BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000168 [BusyBox] New Features tweak N/A 03-16-05 14:11 10-06-05 08:41
Reporter bernhardf View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version
Summary 0000168: pidof, make -s optional and add optional -o
Description For pidof, i want to make support for option -s (single shot) optional instead of unconditional as it is now.
Also, this adds optional support for option -o (omit given pid).

Please consider reviewing and applying.
Thanks to Vladimir for pointing out alot of errors i managed to make.
Additional Information Thanks for your excellent work.
Attached Files  pidof-optional_args.3.diff [^] (5,736 bytes) 03-16-05 14:11
 pidof-optional_args.4.diff [^] (5,918 bytes) 04-02-05 01:54

- Relationships

- Notes
(0000090)
bernhardf
03-16-05 14:31

If -s and -o are not compiled into pidof.o.new, size stats are:
   text data bss dec hex filename
    262 0 0 262 106 pidof.o.oorig
    236 0 0 236 ec pidof.o.new

and in the cleanup, i foobared again.. :-(
The cleanup is obviously depending on the OMIT flag.

#ifdef CONFIG_FEATURE_CLEAN_UP
#ifdef CONFIG_FEATURE_PIDOF_OMIT

Sorry for that.
 
(0000127)
bernhardf
04-02-05 01:54

Correct macro for "option" in usage.h.
Make cleanup of omit dependant on CONFIG_FEATURE_PIDOF_OMIT.
Use llist_free() as introduced in issue 0000204.
 
(0000604)
bernhardf
10-06-05 08:40

checked in as rev. 11793
 

- Issue History
Date Modified Username Field Change
03-16-05 14:11 bernhardf New Issue
03-16-05 14:11 bernhardf File Added: pidof-optional_args.3.diff
03-16-05 14:31 bernhardf Note Added: 0000090
04-02-05 01:54 bernhardf Note Added: 0000127
04-02-05 01:54 bernhardf File Added: pidof-optional_args.4.diff
10-06-05 08:40 bernhardf Status assigned => closed
10-06-05 08:41 bernhardf Note Added: 0000604
10-06-05 08:41 bernhardf Resolution open => fixed
10-06-05 08:41 bernhardf Fixed in Version  => svn


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker