aboutsummaryrefslogtreecommitdiff
path: root/include (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * find: use sysconf(_SC_ARG_MAX) to determine the command-line size limitDenys Vlasenko2014-06-221-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | The find utility uses a hardcoded value of 32 * 1024 as the limit of the command-line length when calling 'find -exec ... {} +'. This results in over 4 times more execve() calls than in coreutils' find. This patch uses the limit defined in system headers. Based on the patch by Bartosz Golaszewski <bartekgola@gmail.com>. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Add conditional support for -v / --verboseDenys Vlasenko2014-05-191-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With FEATURE_VERBOSE off, practically no size change. With it on: function old new delta remove_file 493 556 +63 install_main 719 765 +46 bb_make_directory 383 419 +36 rmdir_main 162 191 +29 copy_file 1516 1544 +28 mv_main 502 525 +23 cmp_main 677 693 +16 bbconfig_config_bz2 5264 5279 +15 mkdir_main 158 168 +10 install_longopts 66 76 +10 rm_main 167 175 +8 nexpr 840 846 +6 scan_tree 275 280 +5 fsck_main 1807 1811 +4 ed_main 2541 2545 +4 expand_one_var 1574 1575 +1 swap_on_off_main 420 418 -2 parse_command 1443 1440 -3 redirect 1279 1274 -5 do_load 946 918 -28 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 16/4 up/down: 304/-38) Total: 266 bytes Based on the patch by Igor Živković. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | MinGW: rename execable -> executableRon Yorston2014-05-061-1/+1
| |
* | Merge branch 'busybox' into mergeRon Yorston2014-05-063-31/+43
|\| | | | | | | | | | | | | Conflicts: debianutils/which.c editors/vi.c libbb/executable.c
| * libbb: rename execable -> executable. No code changesDenys Vlasenko2014-05-021-3/+3
| | | | | | | | | | | | English speakers complained that it sounded awfully broken. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: make syslog level for bb_error_msg's configurable. use it in crondDenys Vlasenko2014-04-301-0/+1
| | | | | | | | | | | | | | | | | | function old new delta bb_verror_msg 380 386 +6 syslog_level - 1 +1 crondlog 165 108 -57 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * crond: tweak help text, make course less crypticDenys Vlasenko2014-04-301-1/+0
| | | | | | | | | | | | | | | | | | function old new delta packed_usage 29736 29740 +4 crond_main 1485 1486 +1 load_crontab 712 706 -6 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * modprobe-small: fix help messages for aliased module-related appletsDenys Vlasenko2014-04-191-25/+25
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: provide usleep() fallback implementationBernhard Reutner-Fischer2014-04-131-2/+14
| | | | | | | | | | | | | | | | POSIX.1-2008 removed the usleep function, provide a fallback implementaion using the recommended nanosleep(). Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Provide fake getpwent_r to reduce changes from upstreamRon Yorston2014-03-231-0/+3
| |
* | ps: exclude more unused codeRon Yorston2014-03-231-0/+4
| |
* | Implement vprintf replacementRon Yorston2014-03-201-0/+2
| |
* | Implement getc replacementRon Yorston2014-03-201-0/+2
| |
* | Implement read replacement to handle OEM codepagesRon Yorston2014-03-201-0/+2
| |
* | Implement write replacement to handle OEM codepagesRon Yorston2014-03-201-0/+2
| |
* | Implement puts replacement to handle OEM codepagesRon Yorston2014-03-191-0/+2
| |
* | Use OEM codepage for console I/ORon Yorston2014-03-191-0/+4
| | | | | | | | | | | | | | | | | | | | Windows console applications use different codepages for console I/O and the rest of the API: http://msdn.microsoft.com/en-us/goglobal/bb688114.aspx#E2F Attempt to workaround this by converting characters when they're read from and written to the console. Not all possible paths are handled.
* | Drop CONFIG_WIN32_NET settingRon Yorston2014-03-171-5/+1
| |
* | Fix some compiler warningsRon Yorston2014-03-131-1/+1
| |
* | Pretend chown succeeds so 'cp -rp' doesn't complainRon Yorston2014-03-131-1/+1
| |
* | Remove unused mingw_utime; update utimes to handle read-only filesRon Yorston2014-03-121-4/+0
| |
* | Import mempcpy from gnulibRon Yorston2014-03-111-0/+5
| |
* | Merge branch 'busybox' into mergeRon Yorston2014-03-111-3/+5
|\|
| * xargs: add support for -I and -i. Closes 493Denys Vlasenko2014-02-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta process_stdin_with_replace - 195 +195 xmalloc_substitute_string - 145 +145 xargs_main 808 884 +76 count_strstr - 45 +45 packed_usage 29580 29571 -9 parse_params 1445 1416 -29 func_exec 285 138 -147 ------------------------------------------------------------------------------ (add/remove: 4/0 grow/shrink: 1/3 up/down: 461/-185) Total: 276 bytes text data bss dec hex filename 922156 932 17692 940780 e5aec busybox_old 922440 932 17692 941064 e5c08 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * zcat: complain if input is not compressedDenys Vlasenko2014-02-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta buffer_fill_and_print 178 191 +13 varvalue 735 743 +8 bbunpack 747 755 +8 open_zipped 85 89 +4 xmalloc_open_zipped_read_close 61 63 +2 get_addr_1 240 242 +2 fbsplash_main 1228 1230 +2 pstree_main 322 321 -1 builtin_type 121 119 -2 do_load 954 926 -28 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 7/3 up/down: 39/-31) Total: 8 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | mingw: dummy implementation of times/sysconfRon Yorston2014-01-301-0/+17
| |
* | date: add dummy stimeRon Yorston2014-01-191-0/+1
| |
* | date: actually use modified strftimeRon Yorston2014-01-191-0/+3
| |
* | Merge branch 'busybox' into mergeRon Yorston2014-01-131-6/+22
|\| | | | | | | | | | | Conflicts: include/platform.h scripts/basic/fixdep.c
| * Another FreeBSD fix from Matthias AndreeDenys Vlasenko2014-01-081-3/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * platform.h: undef HAVE_STRCHRNUL only on correct versions of FreeBSDDenys Vlasenko2014-01-071-5/+12
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Implement POSIX-compliant mktemp for WIN32Ron Yorston2014-01-071-0/+2
| |
* | Revise mingw_stat to minimise changes from upstream BusyBoxRon Yorston2014-01-071-19/+26
| |
* | Extend WIN32 statfs to include type, fsid and namelenRon Yorston2014-01-061-1/+0
| |
* | Use the preprocessor to fake st_blocksRon Yorston2014-01-051-0/+7
| |
* | Provide dummy implementations of seteuid/setegidRon Yorston2014-01-021-0/+2
| |
* | Merge branch 'busybox' into mergeRon Yorston2014-01-023-40/+20
|\| | | | | | | | | | | Conflicts: archival/Config.src shell/ash.c
| * platform: strchrnul is missing if __APPLE__Daniel Borca2013-11-271-1/+1
| | | | | | | | | | Signed-off-by: Daniel Borca <dborca@yahoo.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * rfkill: use new-style config/kbuild/appletDenys Vlasenko2013-11-201-1/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: move nuke_str() from passwd into libbbDenys Vlasenko2013-11-191-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | function old new delta nuke_str - 15 +15 ask_and_check_password_extended 215 206 -9 init_main 781 771 -10 nuke_str 27 - -27 ------------------------------------------------------------------------------ (add/remove: 1/1 grow/shrink: 0/2 up/down: 15/-46) Total: -31 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sulogin: use common password-checking routine.Denys Vlasenko2013-11-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This needed some extensions correct_passwd() function, which got renamed ask_and_check_password() to better describe what it does. function old new delta ask_and_check_password_extended - 215 +215 ask_and_check_password - 12 +12 vlock_main 394 397 +3 sulogin_main 494 326 -168 correct_password 207 - -207 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 1/1 up/down: 230/-375) Total: -145 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * archival/*: move "applet:" snippets into .c files, part 2Denys Vlasenko2013-11-141-7/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * archival/*: move "applet:" snippets into .c filesDenys Vlasenko2013-11-141-15/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * switch editors/* to embedded-in-source kbuild systemDenys Vlasenko2013-11-131-4/+0
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * awk: optionally support -e AWK_PROGSven-Göran Bergh2013-11-121-1/+0
| | | | | | | | | | | | | | | | function old new delta awk_main 959 978 +19 Signed-off-by: Sven-Göran Bergh <sgb@systemasis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fstrim: use new-style config/kbuild/applet snippets; trim help textDenys Vlasenko2013-11-121-1/+0
| | | | | | | | | | | | | | function old new delta packed_usage 29546 29520 -26 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * fstrim: New appletMalek Degachi2013-11-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fstrim applet is a port from util-linux. "Trimming" your NAND/eMMC storage will restore the write performance back to normal after having slow down issues on sequential write and random write due to usage over time. Good reading on subject: http://forum.xda-developers.com/showthread.php?t=1971852 (with long options and CLEAN_UP turned on) function old new delta .rodata 148494 148791 +297 fstrim_main - 283 +283 fstrim_sfx - 128 +128 packed_usage 28826 28903 +77 applet_main 2760 2768 +8 applet_names 2343 2350 +7 applet_nameofs 690 692 +2 ------------------------------------------------------------------------------ (add/remove: 3/0 grow/shrink: 5/0 up/down: 802/0) Total: 802 bytes Signed-off-by: Malek Degachi <malek-degachi@laposte.net> Cc: Eugene San (eugenesan) <eugenesan@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * libbb: use <poll.h> instead of <sys/poll.h>Thomas Petazzoni2013-10-161-2/+2
| | | | | | | | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * wget: if FEATURE_CLEAN_UP, free(ptr_to_globals)Guilherme Maciel Ferreira2013-10-161-0/+5
| | | | | | | | | | Signed-off-by: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: Add xsetegid(), xseteuid(), xopen_as_uid_gid() functionsRyan Mallon2013-10-081-3/+6
| | | | | | | | | | Signed-off-by: Ryan Mallon <rmallon@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>