summaryrefslogtreecommitdiff
path: root/miscutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* add open_read_close() and similar stuffDenis Vlasenko2006-10-144-16/+8
|
* bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko2006-10-122-2/+2
| | | | Renaming...
* nmeter: new applet. ~4kDenis Vlasenko2006-10-113-0/+898
| | | | Fix build proble on x86_64
* attempt to regularize atoi mess.Denis Vlasenko2006-10-088-25/+22
|
* eject: remove unmounting. It is buggy for many non-trivialDenis Vlasenko2006-10-071-12/+8
| | | | mounts, and can be done as shell script.
* eject: -T fixDenis Vlasenko2006-10-051-16/+20
|
* build system overhaulDenis Vlasenko2006-10-055-145/+93
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-032-5/+5
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-039-37/+37
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* rename bb_default_error_retval -> xfunc_error_retvalDenis Vlasenko2006-10-031-1/+1
|
* eject: -T (implements single button open/close)Denis Vlasenko2006-10-021-7/+22
|
* silly switch style fixDenis Vlasenko2006-09-271-1/+1
|
* crontab: we indent using tabsDenis Vlasenko2006-09-271-272/+277
|
* remove unneeded #includes, fix indentationDenis Vlasenko2006-09-231-16/+15
|
* bb_askpass: shorten static password buffer. 256 is way too large.Denis Vlasenko2006-09-231-7/+7
| | | | | simplify code a bit.
* adjtimex: getopt_ulflags'isationDenis Vlasenko2006-09-221-31/+26
|
* Change license statements (and clean up headers) on some of the files thatRob Landley2006-09-222-14/+2
| | | | Erik or I are primary copyright holders on.
* whitespace cleanupDenis Vlasenko2006-09-175-36/+36
|
* - convert a few xopen3(,,0) into xopen(,). Also peruse the fact that xopen ↵Bernhard Reutner-Fischer2006-09-113-3/+3
| | | | | | | | | | | | | | | | | | | | 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
* Add CONFIG_FEATURE_SYSLOG which controls whetherDenis Vlasenko2006-09-071-0/+2
| | | | | | | | bb_xx_msg will ever try to send output to syslog. Add "select CONFIG_FEATURE_SYSLOG" to relevant applets. This allows to omit syslog code if we do not have any syslog-capable applets in the build.
* removed a lot of trailing \n in bb_msg() calls. It is addedDenis Vlasenko2006-09-062-3/+3
| | | | | automatically by function itself.
* Michael Opdenacker spotted that makefile should use () instead of {}.Rob Landley2006-08-211-1/+1
|
* Oops, Michael pointed out that my cleanup left some dead code in there.Rob Landley2006-08-211-2/+0
|
* Michael Opdenacker contributed a readahead applet.Rob Landley2006-08-203-0/+53
|
* - merge -r15463:15564 from busybox_scratch branch through these changesets:Bernhard Reutner-Fischer2006-08-202-9/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r15465 | aldot | 2006-06-21 20:48:06 +0200 (Wed, 21 Jun 2006) | 3 lines - use CONFIG_BUSYBOX_EXEC_PATH as before it one was broken by a recent revert. - use xchdir() since all is invain if it fails there anyways, supposedly ------------------------------------------------------------------------ r15466 | aldot | 2006-06-21 20:55:16 +0200 (Wed, 21 Jun 2006) | 2 lines - adjust docs to take CONFIG_BUSYBOX_EXEC_PATH into account. ------------------------------------------------------------------------ r15467 | aldot | 2006-06-21 21:31:24 +0200 (Wed, 21 Jun 2006) | 18 lines - partial fallout of my TREE_USED touchup against gcc-4.2: rip unused vars, save s 144 bytes text data bss dec hex filename 862434 10156 645924 1518514 172bb2 busybox.old 862322 10156 645892 1518370 172b22 busybox function old new delta z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 new_text 70 60 -10 ipaddr_list_link 33 23 -10 gzip_main 898 822 -76 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 0/3 up/down: 0/-120) Total: -120 bytes ------------------------------------------------------------------------ r15468 | aldot | 2006-06-21 21:43:05 +0200 (Wed, 21 Jun 2006) | 19 lines - remove useless global exports function old new delta rpm_main 940 1601 +661 rpm_getstring 107 112 +5 rpm_getint 148 153 +5 loop_through_files 103 106 +3 fileaction_dobackup 115 113 -2 fileaction_list 5 - -5 rpm_getcount 42 - -42 extract_cpio_gz 161 - -161 rpm_gettags 504 - -504 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 4/1 up/down: 674/-714) Total: -40 bytes text data bss dec hex filename 862322 10156 645892 1518370 172b22 busybox.old 862290 10156 645892 1518338 172b02 busybox ------------------------------------------------------------------------ r15555 | aldot | 2006-06-30 14:10:11 +0200 (Fri, 30 Jun 2006) | 22 lines - shrink syslog a little bit, move a big buffer (for 'line') off the bss, fold s emaphore stuff into single caller manually. stats: function old new delta logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 small 1 - -1 local_logging 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 syslogd_main 1299 1285 -14 static.res 36 16 -20 .rodata 186650 186586 -64 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/5 grow/shrink: 2/3 up/down: 48/-1136) Total: -1088 bytes cow@s37:~/src/busybox_scratch$ size sysklogd/syslogd.o{.orig,} text data bss dec hex filename 3723 348 5242 9313 2461 sysklogd/syslogd.o.orig 3697 348 4188 8233 2029 sysklogd/syslogd.o ============================================================================== Overall bloatcheck for the changeset mentioned above: function old new delta rpm_main 953 1608 +655 logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 rpm_getstring 107 110 +3 rpm_getint 148 151 +3 loop_through_files 103 104 +1 small 1 - -1 fileaction_dobackup 115 113 -2 z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 local_logging 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 fileaction_list 5 - -5 new_text 70 60 -10 ipaddr_list_link 33 23 -10 clear_bufs 31 21 -10 syslogd_main 1287 1273 -14 builtin_help 190 176 -14 static.res 36 16 -20 builtin_source 229 199 -30 rpm_getcount 42 - -42 gzip_main 842 786 -56 .rodata 227176 227112 -64 lash_main 609 527 -82 busy_loop 3883 3739 -144 extract_cpio_gz 155 - -155 rpm_gettags 501 - -501 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/15 grow/shrink: 6/12 up/down: 710/-2221) Total: -1511 bytes
* Patch from tito to improve options parsing.Rob Landley2006-08-031-2/+2
|
* These should have been part of 15767 too.Rob Landley2006-08-031-4/+1
|
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-0311-146/+49
| | | | | | | | | | 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.)
* Tito said that strings is a complete rewrite.Rob Landley2006-07-311-41/+2
|
* Cleaup read() and write() variants, plus a couple of new functions likeRob Landley2006-07-161-1/+1
| | | | xlseek and fdlength() for the new mkswap.
* More minor tweaks.Rob Landley2006-07-121-4/+3
|
* Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"2006-07-123-0/+12
|
* remove duplicate CONFIG_TASKSET optionMike Frysinger2006-07-031-7/+1
|
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* Revert taskset for 1.2.0. It emits a warning, breaks building under RH9,Rob Landley2006-06-303-68/+6
| | | | | and nobody seemed interested in fixing it despite repeated complaints. I'll worry about it in the 1.3 timeframe...
* fix watchdog on no-mmu systems by adding -F option for rexecMike Frysinger2006-06-261-2/+9
|
* Various cleanups I made while going through Erik Hovland's patch submissions,Rob Landley2006-06-251-1/+1
| | | | some of which are even from him. :)
* - convert old-style parameter declarations (K&R) to modern style.Bernhard Reutner-Fischer2006-06-251-1/+1
|
* Aurelien Jacobs pointed out inline functions that could be removed. Doing soRob Landley2006-06-211-29/+13
| | | | shrank the code a bit.
* Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot ofRob Landley2006-06-152-3/+0
| | | | | | fallout due to the #include <sys/mount.h>. Removed that #include from various applets and fixed up those that were unhappy when that #include was made because they'd block copied stuff out of it. (Sigh.)
* Patch from Erik Hovland, via Tito.Rob Landley2006-06-081-2/+2
|
* Some day, maybe gcc will be able to optimize out static functions that areRob Landley2006-06-081-1/+2
| | | | never used so we don't have to #ifdef them. Wouldn't that be nice?
* initial support for no-mmu systemsMike Frysinger2006-06-071-0/+4
|
* hint at where the Magic comes fromMike Frysinger2006-06-071-1/+1
|
* - do away with the comment that noted that the current implementationBernhard Reutner-Fischer2006-06-071-1/+1
| | | | unly supports linux.
* Fix from Tito to read from stdin only when it's not a tty.Rob Landley2006-06-071-3/+3
|
* Consolidate devfs garbage and mark it as obsolete.Rob Landley2006-06-071-2/+16
|
* - add applet taskset to set/retrieve the CPU affinity of a processBernhard Reutner-Fischer2006-06-073-0/+74
| | | | | | | | | | text data bss dec hex filename 584 0 0 584 248 taskset.o.gcc-2.95 509 0 0 509 1fd taskset.o.gcc-3.3 505 0 0 505 1f9 taskset.o.gcc-3.4 506 0 0 506 1fa taskset.o.gcc-4.0 498 0 0 498 1f2 taskset.o.gcc-4.1 495 0 0 495 1ef taskset.o.gcc-4.2-HEAD
* Tito writes: this patch fixes two potential bugs with the -i -I flags that ↵Mike Frysinger2006-06-071-2/+2
| | | | could be reset during option parsing
* Callers to identify() converted the endianness of the buffer. So didRob Landley2006-06-071-16/+16
| | | | | | identify(). This meant big endian systems had a NUXI problem. Removed the redundant conversion from the callers, and made some in-passing cleanups while I was there.