aboutsummaryrefslogtreecommitdiff
path: root/miscutils/rx.c
Commit message (Collapse)AuthorAgeFilesLines
* usage.c: remove reference to busybox.hGravatar Denis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* style fixes, no code changesGravatar Denis Vlasenko2007-04-161-1/+2
|
* suppress warnings about easch <applet>_main() havingGravatar Denis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* - sed -i -e "/\$Id:/d;"Gravatar Bernhard Reutner-Fischer2007-01-221-1/+0
|
* small fixes:Gravatar Denis Vlasenko2006-11-261-1/+1
| | | | | | fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
* remove bb_printf and the likeGravatar Denis Vlasenko2006-10-261-1/+1
|
* build system overhaulGravatar Denis Vlasenko2006-10-051-3/+2
|
* - convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵Gravatar Bernhard Reutner-Fischer2006-09-111-1/+1
| | | | | | | | | | | | | | | | | | | | defaults to 0777 on it's own, so we don't need to xopen3(,,0777). Saves a few bytes: $ size busybox.old busybox text data bss dec hex filename 839676 8780 243592 1092048 10a9d0 busybox.old 839660 8780 243592 1092032 10a9c0 busybox $ make CC=gcc-4.2-HEAD bloatcheck function old new delta static.vconfig_main 281 279 -2 static.rx_main 1076 1074 -2 static.mt_main 294 292 -2 static.gzip_main 753 751 -2 static.mkfs_minix_main 4034 4030 -4 static.unzip_main 1771 1766 -5 static.crontab_main 1513 1507 -6 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 0/7 up/down: 0/-23) Total: -23 bytes
* removed a lot of trailing \n in bb_msg() calls. It is addedGravatar Denis Vlasenko2006-09-061-2/+2
| | | | | automatically by function itself.
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateGravatar Rob Landley2006-08-031-14/+2
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Cleaup read() and write() variants, plus a couple of new functions likeGravatar Rob Landley2006-07-161-1/+1
| | | | xlseek and fdlength() for the new mkswap.
* Aurelien Jacobs pointed out inline functions that could be removed. Doing soGravatar Rob Landley2006-06-211-29/+13
| | | | shrank the code a bit.
* - move #include busybox.h to the very top so we pull in the configGravatar Bernhard Reutner-Fischer2006-06-031-1/+1
| | | | and eventual platform specific includes in early.
* - use the defines CURRENT_TTY and VC_1; also shrink xargs a tiny bit:Gravatar Bernhard Reutner-Fischer2006-05-271-1/+1
| | | | | | | | | | | | | | | | add/remove: 0/0 grow/shrink: 2/6 up/down: 5/-37 (-32) function old new delta static.add_interface 271 274 +3 static.glob3 36 38 +2 static.renice_main 409 408 -1 static.readcmd 1083 1081 -2 static.changepath 176 174 -2 static.parse_opts 56 51 -5 static.rx_main 1095 1088 -7 static.xargs_main 759 739 -20 ---------------------------------------------------------------- Result :-) -32
* - remove emacs layout block as suggested by Robert P.J. DayGravatar Bernhard Reutner-Fischer2006-05-191-8/+0
| | | | - use shorter boilerplate while at it
* - patch from Denis Vlasenko to add and use bb_xopen3()Gravatar Bernhard Reutner-Fischer2006-04-131-7/+3
|
* - add some ATTRIBUTE_UNUSED.Gravatar Bernhard Reutner-Fischer2006-01-301-15/+2
| | | | - use shorter boilerplate while at it.
* Remove trailing whitespace. Update copyright to include 2004.Gravatar Eric Andersen2004-03-151-7/+7
|
* New applet, rx, by Christopher HooverGravatar Glenn L McGrath2003-12-201-0/+344