aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
| * lineedit: add handling of \H in promptDenys Vlasenko2013-03-281-5/+45
| | | | | | | | | | | | Based on the patch by Arnaud Rébillout <rebillout@syscom.ch> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * hexdump: don't unconditionally limit the usable address rangeDenys Vlasenko2013-03-271-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | df: limited implementation for WIN32Ron Yorston2013-04-031-0/+37
| |
* | Merge branch 'busybox' into mergeRon Yorston2013-03-195-6/+36
|\|
| * readlink: uClibc supports automatic allocation too nowMike Frysinger2013-03-121-1/+2
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * make --help return exitcode 0. Closes 5612Denys Vlasenko2013-02-281-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * lineedit: initialize delptrShawn J. Goff2013-02-271-0/+1
| | | | | | | | | | | | | | | | In vi mode, the 'p' and 'P' commands caused a segfault when nothing had been put in the buffer yet because the delptr was not initialized. Signed-off-by: Shawn J. Goff <shawn7400@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * move endofname() to libbbDenys Vlasenko2013-02-261-0/+26
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * vasprintf: return -1 on strdup failureDenys Vlasenko2013-02-101-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * vasprintf: do not use xmalloc, it will deadlock on OOMDenys Vlasenko2013-02-071-3/+5
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2013-02-078-28/+312
|\|
| * sha3: code shrinkDenys Vlasenko2013-01-201-32/+59
| | | | | | | | | | | | | | function old new delta sha3_hash 155 101 -54 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * code shrinkDenys Vlasenko2013-01-171-8/+12
| | | | | | | | | | | | | | | | function old new delta applet_name_compare 36 31 -5 find_applet_by_name 43 25 -18 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3: s/sha3_process_block76/sha3_process_block72/Denys Vlasenko2013-01-161-4/+4
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3: rename KeccakF->sha3_process_block76.Denys Vlasenko2013-01-161-79/+81
| | | | | | | | | | | | | | | | This brings the naming more in line with other hashes. Pulled most statics and constants into it. Also noticed that two byte arrays are 1 element too big. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3: cache ctx->bytes_queuedDenys Vlasenko2013-01-151-11/+11
| | | | | | | | | | | | | | function old new delta sha3_hash 171 155 -16 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3: remove two "small code" codepaths: I can't reproduce code size win on ↵Denys Vlasenko2013-01-151-43/+18
| | | | | | | | | | | | them anymore Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3: tweak choice of a fast code path for 64-bitDenys Vlasenko2013-01-151-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3: cosmetic tweaks to various names, comments. No logic changes.Denys Vlasenko2013-01-151-61/+63
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3: code shrinkDenys Vlasenko2013-01-151-26/+36
| | | | | | | | | | | | | | | | function old new delta KeccakF 1053 1078 +25 KeccakF_RoundConstants 192 48 -144 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3: code shrinkDenys Vlasenko2013-01-151-13/+18
| | | | | | | | | | | | | | function old new delta KeccakF 1064 1053 -11 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3: another speedup for SHA3_SMALL=0 caseDenys Vlasenko2013-01-151-10/+25
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace fixes. no code changesDenys Vlasenko2013-01-151-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3: make size/speed optimization decision configurableDenys Vlasenko2013-01-152-19/+68
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * whitespace cleanup. no code changesDenys Vlasenko2013-01-144-7/+7
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * sha3sum: new appletLauri Kasanen2013-01-141-0/+194
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta KeccakF - 496 +496 KeccakF_RoundConstants - 192 +192 sha3_hash - 171 +171 sha3_end - 40 +40 hash_file 274 299 +25 KeccakF_RotationConstants - 25 +25 KeccakF_PiLane - 25 +25 packed_usage 29213 29232 +19 sha3_begin - 18 +18 KeccakF_Mod5 - 10 +10 applet_names 2445 2453 +8 applet_main 1420 1424 +4 applet_nameofs 710 712 +2 ------------------------------------------------------------------------------ (add/remove: 8/0 grow/shrink: 9/7 up/down: 1049/-54) Total: ~995 bytes Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Add a build option to turn MSVCRT globbing on or offRon Yorston2012-12-101-1/+1
| |
* | Ensure mingw_stat is called when necessaryRon Yorston2012-11-292-2/+4
| | | | | | | | | | | | In some cases a funtion pointer to the stat function is used. The preprocessor can't replace these with the mingw_stat, so make alternative arrangements in those cases.
* | Merge branch 'busybox' into mergeRon Yorston2012-10-104-5/+8
|\|
| * mark get_shell_name FAST_FUNCDenys Vlasenko2012-10-031-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * top/ps: argv0:"gdm-session-worker [pam/gdm-password]" == comm:"gdm-session-wor"Denys Vlasenko2012-10-021-0/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * lineedit: in !EDITING config, return -1 on fgets errorDenys Vlasenko2012-09-271-1/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: correctness/size tweaks in signal-related helpersDenys Vlasenko2012-09-271-3/+3
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Revised quoting of command line arguments for WIN32Ron Yorston2012-10-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * We only need to quote an argument if it contains whitespace. * There's no point in quoting ? or * because Windows still expands them. Anyhow, if the command line comes from a BusyBox shell it will usually have handled the globbing, so we should turn off Windows globbing for any wildcard that has made it through the shell without expansion. This means that BusyBox commands run from cmd.exe won't do wildcard expansion, though. * Backslashes only need to be doubled if they occur immediately before double quotes. * Double quotes need to be escaped with a backslash.
* | Simplify recursive directory creationRon Yorston2012-09-071-8/+5
| |
* | Merge branch 'busybox' into mergeRon Yorston2012-09-079-25/+76
|\| | | | | | | | | | | Conflicts: include/libbb.h shell/ash.c
| * top: fix "last CPU" parsingDenys Vlasenko2012-09-061-1/+1
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * refactor correct_password.c to avoid one ifwalter harms2012-09-041-6/+3
| | | | | | | | | | Signed-off-by: walter harms <wharms@bfs.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * lineedit: fix Alt-D when cursor==0Cliff Frey2012-08-071-3/+3
| | | | | | | | | | Signed-off-by: Cliff Frey <cliff@meraki.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Simplify copyright/license notice that appears in the binary.Bradley M. Kuhn2012-07-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | Existing copyright notice for binary would need to be longer to achieve optimal accuracy. This compromise punts to the source for full notices, but does note the years of the copyrights and that there are many authors, all licensing under GPLv2. Signed-off-by: Bradley M. Kuhn <bkuhn@ebb.org> Signed-off-by: Tony Sebro <tony@sfconservancy.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * su: do not change to home dir unless -lPascal Bellard2012-06-122-5/+7
| | | | | | | | | | Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * Add comments in keyboard escape sequences tableDenys Vlasenko2012-06-111-5/+10
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * libbb: add missing_syscalls.c: for now, only Android syscallsTias Guns2012-06-101-0/+42
| | | | | | | | | | Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * unzip: ignore chmod errorsNatanael Copa2012-05-281-1/+6
| | | | | | | | | | | | | | | | This makes unzip to FAT filesystems not exit with error. This is similar to how the "normal" unzip works. Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * busybox: tweak help text and copyright yearDenys Vlasenko2012-05-141-2/+2
| | | | | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Merge branch 'busybox' into mergeRon Yorston2012-05-092-8/+5
|\|
| * ln: support -T and -vSimon B2012-05-061-1/+1
| | | | | | | | | | | | | | | | | | function old new delta ln_main 445 524 +79 packed_usage 29182 29179 -3 Signed-off-by: Simon B <sburnet@hotmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * get_linux_version_code: don't fail on Linux version strints like "3.0-foo"Andreas Oberritter2012-05-051-7/+4
| | | | | | | | | | Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* | Use win32_execable_file() in test, which and execable.cRon Yorston2012-05-091-22/+9
| |
* | mingw32: make access(2) check file format for executablesRon Yorston2012-05-091-25/+1
| |