aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * Replace "depends on PLATFORM_LINUX" with "select PLATFORM_LINUX"Denys Vlasenko2011-02-261-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit 'da4441c44f6efccb6f7b7588404d9c6bfb7b6af8' into mergeRon Yorston2012-03-2212-124/+196
|\| | | | | | | | | | | | | Conflicts: libbb/vfork_daemon_rexec.c networking/wget.c procps/ps.c
| * Move stpcpy replacement function into libbbDan Fandrich2011-02-131-0/+11
| | | | | | | | | | Signed-off-by: Dan Fandrich <dan@coneharvesters.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * typo fixDenys Vlasenko2011-02-121-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * progress meter: fix bugs found in stall detection and unknown size logicDenys Vlasenko2011-02-111-23/+32
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * progress meter: move file name to bb_progress_t. +20 bytesDenys Vlasenko2011-02-111-13/+11
| | | | | | | | | | | | We were doing expensive unicode conversion on every update Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb/progress.c: make sure we never get negative ETADenys Vlasenko2011-02-111-16/+17
| | | | | | | | | | | | | | function old new delta bb_progress_update 738 733 -5 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * progress meter: display >999 hours ETA correctlyDenys Vlasenko2011-02-101-4/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: shrink progress meter code; strink wget and add debug loggingDenys Vlasenko2011-02-101-30/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta fgets_and_trim - 73 +73 retrieve_file_data 367 349 -18 bb_progress_update 723 699 -24 wget_main 2220 2190 -30 ftpcmd 133 87 -46 gethdr 200 153 -47 ------------------------------------------------------------------------------ (add/remove: 1/0 grow/shrink: 0/5 up/down: 73/-165) Total: -92 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * progress bar: better overflow protection; more precise barDenys Vlasenko2011-02-101-23/+31
| | | | | | | | | | | | | | function old new delta bb_progress_update 639 749 +110 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * save 10 bytes on stringsDenys Vlasenko2011-02-101-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: use FEATURE_COPYBUF_KB-sized buffer. Much faster for local transfersDenys Vlasenko2011-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta base64enc - 53 +53 gethdr 190 200 +10 ftpcmd 129 133 +4 progress_meter 160 122 -38 retrieve_file_data 431 392 -39 base64enc_512 46 - -46 wget_main 2456 2220 -236 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 2/3 up/down: 67/-359) Total: -292 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * ash: fix TMOUT not restoring tty attributesDenys Vlasenko2011-02-081-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta pgetc 420 500 +80 readtoken1 3202 3239 +37 read_line_input 3316 3337 +21 udhcpc_main 2610 2630 +20 file_get 266 272 +6 expandarg 958 963 +5 localcmd 257 259 +2 addLines 85 87 +2 read_line 94 95 +1 ed_main 2540 2541 +1 timed_out 1 - -1 lineedit_read_key 256 255 -1 alrm_sighandler 44 - -44 cmdloop 539 434 -105 ------------------------------------------------------------------------------ (add/remove: 0/2 grow/shrink: 10/2 up/down: 175/-151) Total: 24 bytes text data bss dec hex filename 887379 936 17200 905515 dd12b busybox_old 887411 936 17192 905539 dd143 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: spawn should remove child which failed to execDenys Vlasenko2011-02-031-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixesDenys Vlasenko2011-02-032-5/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * move nofork_save_area from libbb.h to vfork_daemon_rexec.cDenys Vlasenko2011-02-022-30/+20
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: make BB_EXECVP/LP try to exec real binary if there's no /proc/self/exeDenys Vlasenko2011-02-022-11/+11
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * df,find_mount_point: optionally don't ignore rootfsLauri Kasanen2011-01-312-1/+20
| | | | | | | | | | Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb/copy_file.c: use smallints instead of signed charsDenys Vlasenko2011-01-281-4/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge commit '8d0e0cdadf726beab28ccdc7d69738c1534e1f74' into mergeRon Yorston2012-03-2112-48/+119
|\| | | | | | | | | | | | | Conflicts: include/platform.h libbb/Kbuild.src libbb/messages.c
| * move utmp.h include to libbb.hDenys Vlasenko2011-01-252-6/+6
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * add ENABLE_FEATURE_SYSTEMD and use it in syslogdDavide Cavalca2011-01-251-0/+62
| | | | | | | | | | Signed-off-by: Davide Cavalca <davide@geexbox.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * nicer looking ifdef in libbb/makedev.cDenys Vlasenko2011-01-241-9/+10
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * FreeBSD compat for match_fstypeChris Rees2011-01-241-1/+2
| | | | | | | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * FreeBSD compat for makedevChris Rees2011-01-241-2/+8
| | | | | | | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * FreeBSD compatChris Rees2011-01-241-1/+1
| | | | | | | | | | Signed-off-by: Chris Rees <utisoft@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: make ndelay_no/off a bit more clever. +14 bytesDenys Vlasenko2011-01-241-6/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * mass removal of underscores from _BB_DIR_foo and _BB_SUID_fooDenys Vlasenko2011-01-181-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: better comment in parse_dateDenys Vlasenko2011-01-171-1/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb unicode: comment out usused function and unused parameterDenys Vlasenko2011-01-112-6/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * libbb: progress indicator: use unicode support funcs instead of open-coding itDenys Vlasenko2011-01-101-16/+4
| | | | | | | | | | | | | | function old new delta bb_progress_update 729 641 -88 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * tftp: fix bad interaction betweel poll() and alarm(). Closes bug 3061Denys Vlasenko2011-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was breaking timeout handling. function old new delta tftp_progress_update - 45 +45 tftp_progress_done - 32 +32 tftp_protocol 1839 1858 +19 tftp_progress_init 9 15 +6 tftp_main 298 286 -12 ------------------------------------------------------------------------------ (add/remove: 2/0 grow/shrink: 2/1 up/down: 102/-12) Total: 90 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * suppress "'fast_strtol_10' defined but not used" warningDenys Vlasenko2011-01-071-1/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* | Add code to find console dimensions in WIN32Ron Yorston2012-02-201-0/+4
| |
* | copy_file: kkip inode/device checkDaniel Klessing2011-11-211-0/+6
| | | | | | | | | | Inode/Device information is not present under mingw32. Don't rely on it in copy_file.c
* | Include safe_gethostname()Daniel Klessing2011-11-212-1/+14
| | | | | | | | | | Fixed compilation under mingw32 by making safe_gethostname.c globally available, as the compiler couldn't find safe_gethostname()
* | Added missing stat() tweaks for mingw portZheng, Lei2011-11-202-0/+8
| |
* | Merge remote-tracking branch 'upstream/master'Nguyễn Thái Ngọc Duy2011-01-0416-126/+235
|\|
| * kill[all[5]],pkill: make signal list show signal numbers, and show RTMIN/MAXDenys Vlasenko2011-01-031-1/+16
| | | | | | | | | | | | | | | | function old new delta print_signames 31 64 +33 signals 224 231 +7 Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * kill[all[5]],pkill: more correct, and smaller, SIGRTMIN/MAX codeDenys Vlasenko2011-01-031-10/+19
| | | | | | | | | | | | | | | | | | | | | | function old new delta __libc_current_sigrtmin 6 - -6 __libc_current_sigrtmax 6 - -6 get_signum 339 295 -44 ------------------------------------------------------------------------------ (add/remove: 0/3 grow/shrink: 0/1 up/down: 0/-56) Total: -56 bytes Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * date,touch: treat 2-digit years better (fit them into +-50 yrs around today)Denys Vlasenko2011-01-021-0/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: optionally support RTMIN[+n] and RTMAX[-n] signal namesDenys Vlasenko2010-12-302-6/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta get_signum 140 336 +196 __libc_allocate_rtsig - 56 +56 __libc_current_sigrtmin - 6 +6 __libc_current_sigrtmax - 6 +6 current_rtmin - 4 +4 current_rtmax - 4 +4 bbconfig_config_bz2 4961 4962 +1 ------------------------------------------------------------------------------ (add/remove: 6/0 grow/shrink: 2/0 up/down: 273/0) Total: 273 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * plug a DIR* leak on error pathDenys Vlasenko2010-12-281-4/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * pstree: new applet. +1664 bytesLauri Kasanen2010-12-051-0/+2
| | | | | | | | | | | | | | | | | | text data bss dec hex filename 883379 936 17192 901507 dc183 busybox_old 885043 936 17192 903171 dc803 busybox_unstripped Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * typo fixDenys Vlasenko2010-12-051-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * add if guards around include <malloc.h>Denys Vlasenko2010-12-051-1/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb/pw_encrypt_sha: forgot to move &ctx to 1st param here in sha hash reworkDenys Vlasenko2010-12-011-25/+25
| | | | | | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
| * exclude the case of just "busybox" from previous commitDenys Vlasenko2010-11-291-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * if only one applet is enabled, make "busybox applet [params]" work as expectedDenys Vlasenko2010-11-291-29/+33
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fixes for bugs discovered by randomconfig builds and testsDenys Vlasenko2010-11-221-0/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>