aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Unneeded code removed, usused field "unsigned pscpu" removedDenis Vlasenko2006-11-011-4/+3
|
* PID should be stored in pid_t, not int or long.Denis Vlasenko2006-11-011-4/+3
| | | | | find_pid_by_name() was returning 0 or -1 in last array element, but -1 was never checked. We can use just 0 intead.
* ls: cleanup part 1Denis Vlasenko2006-10-281-4/+4
|
* recursive_action: add depth paramDenis Vlasenko2006-10-271-4/+4
| | | | chmod: match coreutils versus following links
* reshuffle libbb.h contents so that order of decls makes senseDenis Vlasenko2006-10-271-268/+250
| | | | Found bad typo in largefile support :)
* Fix minor breakage in previous commitDenis Vlasenko2006-10-261-2/+2
|
* rename functions to more understandable namesDenis Vlasenko2006-10-261-15/+17
|
* remove bb_printf and the likeDenis Vlasenko2006-10-261-13/+4
|
* xconnect is non-conforming to "xfunc like libc" rule. FixingDenis Vlasenko2006-10-261-1/+3
|
* wget: wget $'-\207' ... should not be allowed to work. ever. :)Denis Vlasenko2006-10-251-1/+1
| | | | | So fix wget & getopt32. Also fix multiple --header options order: add and use rev_llist.
* cp: add support for -s, -l. Fix free(nonmalloc) bug.Denis Vlasenko2006-10-211-1/+4
| | | | | Add doc on POSIX's rules on -i and -f (insane!). ln: make "ln dangling_symlink new_link" work.
* build system: (try to) get rid of bb_config.h hackDenis Vlasenko2006-10-191-1/+1
|
* grep: add support for -rDenis Vlasenko2006-10-141-2/+2
|
* add open_read_close() and similar stuffDenis Vlasenko2006-10-141-8/+15
|
* bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko2006-10-121-2/+3
| | | | Renaming...
* ifupdown: stop emitting annoying/misleading error messages.Denis Vlasenko2006-10-111-0/+4
| | | | Patch by Gabriel Somlo <somlo at cmu.edu>
* od: provide full-blown od from coreutils if CONFIG_DESKTOPDenis Vlasenko2006-10-101-0/+2
|
* fixes from Vladimir Dronnikov <dronnikov@gmail.ru>Denis Vlasenko2006-10-101-3/+8
|
* start_stop_daemon: add -N <nice> compatDenis Vlasenko2006-10-081-0/+1
| | | | | [re]nice: add support for -nNNN w/o spaces, -NNN (nice only), simplified code
* correct largefile support, add comments about it.Denis Vlasenko2006-10-081-22/+48
|
* attempt to regularize atoi mess.Denis Vlasenko2006-10-081-23/+45
|
* dd: make it recognize not only 'k' but 'K' too;Denis Vlasenko2006-10-071-0/+25
| | | | make it (partially) CONFIG_LFS-aware
* dnsd fix; option_mask32 added. dnsd needs more love.Denis Vlasenko2006-10-061-1/+2
|
* httpd: add -u user[:grp] supportDenis Vlasenko2006-10-051-0/+7
|
* build system overhaulDenis Vlasenko2006-10-051-1/+0
|
* bb_applet_name -> applet_nameDenis Vlasenko2006-10-031-1/+1
|
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-4/+4
| | | | | | | | 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
|
* random style fixesDenis Vlasenko2006-10-031-14/+16
|
* runit/chpst: "change process state" utilityDenis Vlasenko2006-10-031-3/+4
| | | | It's "nice" on steroids - can set uid/gid, mem/cpu limits etc. +3.5k
* g[un]zip: add support for -v (verbose).Denis Vlasenko2006-10-011-3/+3
| | | | | Add CONFIG_DESKTOP, almost all bloat from this change is hidden under that.
* losetup: use /dev/loopN or /dev/loop/N according to CONFIG_FEATURE_DEVFS=n/yDenis Vlasenko2006-09-291-0/+2
|
* kill: fix bugs (kill -l output was horrible), fix style, constify dataDenis Vlasenko2006-09-271-2/+2
|
* wget: add (configurable) large file support. Run tested.Denis Vlasenko2006-09-261-0/+2
|
* The Software Freedom Law Center wants us to add a copyright notice to theRob Landley2006-09-201-3/+4
| | | | | | | | | | | | | | | generated binaries, to make copyright enforcement easier. Our liason with them (Bradley Kuhn) suggested the following text: > Copyright (C) YEAR-2006  Erik Andersen, Rob Landley, and others. > Licensed under GPLv2.  See source distribution for full notice. And the busybox help message seems the least offensive place to put it. (At some point in the future, I need to strip 128 bytes from the binary to feel good about this, though. :) Minor header file cleanup while I was there, since libbb.h already #includes most of that stuff...
* change char *string = "foo" -> char string[] = "foo"Denis Vlasenko2006-09-191-26/+26
| | | | | | | | | | | | | | | | | | function old new delta xsetenv 45 44 -1 iproute_list_or_flush 1834 1833 -1 ipaddr_modify 1915 1914 -1 ipaddr_list_or_flush 1861 1860 -1 invarg 39 38 -1 do_set 1259 1258 -1 bb_verror_msg 268 267 -1 create_icmp_socket 142 140 -2 create_icmp6_socket 142 140 -2 bb_full_fd_action 324 322 -2 bb_path_mtab_file 10 - -10 .rodata 214796 214720 -76 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 0/11 up/down: 0/-99) Total: -99 bytes
* Unbreak allbareconfig.Rob Landley2006-09-151-15/+3
| | | | | | We've had -Werror in the tree for quite a while, so adding #warning somewhat counterproductve way to make comments on the code that belong on the mailing list anyway.
* mount: move code from nfsmount.c into mount.cDenis Vlasenko2006-09-141-3/+0
|
* Remove pointless "const". Bloatcheck says 0 bytes difference.Rob Landley2006-09-121-1/+1
|
* nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"Denis Vlasenko2006-09-111-2/+2
| | | | | | | | | option - it was going to return a special flag back to caller and expecting caller to call it again with special parameter! Also caller was charged with calling mount() syscall... mount: mtab support was non-functional. Enabling it revealed serious bug which is not fixed yet.
* - merge xstat.c into xfuncs.cBernhard Reutner-Fischer2006-09-111-1/+1
|
* login: style fixesDenis Vlasenko2006-09-081-3/+3
|
* getty, sulogin: convert to using bb_msg for syslog outputDenis Vlasenko2006-09-071-0/+2
|
* Implement optional syslog logging using ordinaryDenis Vlasenko2006-09-061-1/+12
| | | | | | bb_xx_msg calls, and convert networking/* to it. The rest of bbox will be converted gradually.
* uuencode: common implementation for wget and uuencode (closing bug 694)Denis Vlasenko2006-09-031-0/+4
|
* - pull from busybox_scratch: r15829:15850Bernhard Reutner-Fischer2006-08-281-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Various fixes, cleanups and shrinkage: saves 952 Bytes: text data bss dec hex filename 1087742 15853 790632 1894227 1ce753 ../busybox/busybox.old 1086790 15853 790632 1893275 1ce39b busybox via: # scripts/bloat-o-meter ../busybox/busybox_unstripped.old busybox_unstripped function old new delta ipcrm_main 756 822 +66 getval - 61 +61 maybe_set_utc - 40 +40 udhcpc_main 2896 2912 +16 md5_hash_block 428 437 +9 opt 8 16 +8 qgravechar 106 110 +4 make_bitmap 292 295 +3 inflate_unzip 2056 2059 +3 add_partition 1412 1414 +2 __parsespent 156 158 +2 qrealloc 41 42 +1 format - 1 +1 catv_main 313 314 +1 watch_main 293 292 -1 varunset 81 80 -1 part 1 - -1 check_if_skip 837 836 -1 start_stop_daemon_main 840 837 -3 create_lost_and_found 175 172 -3 supress_non_delimited_lines 4 - -4 static.l 4 - -4 static.c 5 1 -4 bsd_sum_file 237 233 -4 eval2 338 332 -6 arithmetic_common 166 158 -8 cmpfunc 22 5 -17 cksum_main 294 275 -19 cmp_main 465 439 -26 dd_main 1535 1508 -27 rmmod_main 376 333 -43 cut_file 727 644 -83 ipcs_main 3809 3721 -88 cut_main 722 614 -108 date_main 1443 1263 -180 remove_ids 222 - -222 ------------------------------------------------------------------------------ (add/remove: 3/4 grow/shrink: 11/18 up/down: 217/-853) Total: -636 bytes
* No real need for my_query_module() and this eliminates some type-punnedRob Landley2006-08-281-2/+0
| | | | pointer warning on certain gcc versions (and saves 38 bytes).
* Another whack at scripts/individual. Now builds 212 applets.Rob Landley2006-08-091-0/+2
|
* Add shared subtree support, suggested by Vladimir Dronnikov. Also break out aRob Landley2006-08-081-1/+1
| | | | | | few new (unfinished) config options, which I intend to make hidden (but enabled) when CONFIG_NITPICK is disabled. Getting the .config infrastructure to do that is non-obvious, it seems...
* Remove xcalloc() and convert its callers to xzalloc(). About half of themRob Landley2006-08-031-1/+0
| | | | | were using "1" as one of the arguments anyway, and as for the rest a multiply and a push isn't noticeably bigger than pushing two arguments on the stack.