aboutsummaryrefslogtreecommitdiff
path: root/coreutils (follow)
Commit message (Collapse)AuthorAgeFilesLines
* whitespace fixes. no code changesDenys Vlasenko2013-01-155-9/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace cleanup. no code changesDenys Vlasenko2013-01-146-34/+41
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sha3sum: new appletLauri Kasanen2013-01-143-3/+27
| | | | | | | | | | | | | | | | | | | | | | 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>
* whitespace fixes. no code changesDenys Vlasenko2013-01-146-9/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* du: document incompatibility with standard toolDenys Vlasenko2012-12-141-0/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix unsafe bb_perror_msg(filename) callsDenys Vlasenko2012-09-271-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak help textDenys Vlasenko2012-06-191-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* android: fix 'stat', ifdef S_TYPEIS* in coreutiles/stat.cTias Guns2012-06-101-0/+6
| | | | | | | | patch modified from 'BusyBox Patch V1.0 (Vitaly Greck)' https://code.google.com/p/busybox-android/downloads/detail?name=patch_busybox Signed-off-by: Tias Guns <tias@ulyssis.org> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mv: accept but ignore -vSimon B2012-05-061-8/+11
| | | | | | | | function old new delta mv_longopts 36 46 +10 Signed-off-by: Simon B <sburnet@hotmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkdir,rmdir: accept and ignore -v, --verboseSimon B2012-05-062-4/+7
| | | | | | | | | function old new delta static.rmdir_longopts 38 48 +10 mkdir_longopts 18 28 +10 Signed-off-by: Simon B <sburnet@hotmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ln: support -T and -vSimon B2012-05-061-6/+22
| | | | | | | | | 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>
* who: fix typo in help textDenys Vlasenko2012-04-181-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* who,less: tweaked help textDenys Vlasenko2012-04-171-0/+1
| | | | | | | function old new delta packed_usage 29176 29173 -3 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* test: "test !" was accessing argv past NULL - fix it. Closes 4832Denys Vlasenko2012-03-081-7/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: make xchroot do a chdir("/") after chrootDenys Vlasenko2012-03-081-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* printf: fix this case: printf "%b" '\0057usr\0057bin\n'Denys Vlasenko2012-03-071-2/+17
| | | | | | | | | It was not accepting \0NNN. Standard printf tool does. function old new delta printf_main 869 886 +17 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* printf: trim help textDenys Vlasenko2012-03-071-4/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* uudecode: tweak help textDenys Vlasenko2012-03-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* uuencode: tweak help textDenys Vlasenko2012-03-051-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* cp: trim help textDenys Vlasenko2012-03-051-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* du: trim help text a bit moreDenys Vlasenko2012-03-051-7/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* du: remove stray whitespace in help textDenys Vlasenko2012-03-051-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* date: extend help text to explain compat date format. Closes 4820Denys Vlasenko2012-03-011-0/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* du: use long long for size fieldIan Wienand2012-02-281-5/+5
| | | | | | | | | | | | | | | | du has issues with files reporting large block counts on 32-bit systems with 4 byte longs. From looking at the stat.c code, it seems the preference is to use 'long long', rather than blkcnt_t. function old new delta du 420 444 +24 du_main 317 321 +4 print 43 41 -2 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 2/1 up/down: 28/-2) Total: 26 bytes Signed-off-by: Ian Wienand <ianw@vmware.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mkdir: fix permissions on 64-bit platformsTimo Teras2012-02-231-3/+4
| | | | | | | | | sizeof(long) != sizeof(mode_t), this causes the compare in bb_make_directory of (long)-1 != (mode_t)-1 to fail and mess up the permissions of final directory by doing chmod((mode_t) -1). Signed-off-by: Timo Teras <timo.teras@iki.fi> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: remove is_directory's argument which is always NULLDenys Vlasenko2011-12-181-2/+2
| | | | | | | | | | | | function old new delta send_cgi_and_exit 892 890 -2 ln_main 447 445 -2 handle_incoming_and_exit 2784 2780 -4 is_directory 66 59 -7 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/6 up/down: 2/-19) Total: -15 bytes Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* touch: add new option FEATURE_TOUCH_SUSV3walter harms2011-12-141-8/+15
| | | | | | | | | | This options -d -t -r where hidden under DESKTOP. This option allows the user to enable these options for (only) touch. The patch only changes DESKTOP to FEATURE_TOUCH_SUSV3. Signed-off-by: walter harms <wharms@bfs.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* touch: document -t DT option in help textDenys Vlasenko2011-12-131-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace fixesDenys Vlasenko2011-10-281-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* stty: trim too verbose error messages (-40 bytes)Denys Vlasenko2011-10-211-5/+7
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* uudecode: fix buggy check for empty filenameDenys Vlasenko2011-10-181-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* pwd: implement -LP if DESKTOPDenys Vlasenko2011-10-161-1/+51
| | | | | | | function old new delta pwd_main 41 244 +203 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* add INIT_G()'s. No code changes.Denys Vlasenko2011-09-213-0/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tail: fix -c +N. Closes 4111Denys Vlasenko2011-09-171-3/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* hostid: fix behavior on identifiers starting with zerosPere Orga2011-08-163-9/+12
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* randomconfig fixesDenys Vlasenko2011-08-101-2/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove extra += who.oDenys Vlasenko2011-08-091-1/+0
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* df: more compatible -P behaviorRalf Friedl2011-08-091-2/+2
| | | | | | | | | | | | | In coreutils df, one of the effects of the option -P is to output everything in one line. This makes it much easier for a script to parse the output of df. This patch adds the same behavior to busybox df. function old new delta df_main 853 863 +10 Signed-off-by: Ralf Friedl <Ralf.Friedl@online.de> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* users: new applet.Tito Ragusa2011-08-092-35/+62
| | | | | Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* usleep: do not check for usleep error, it should never failDenys Vlasenko2011-07-081-3/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* md5/shaNsum: make -c support a list of filesLauri Kasanen2011-07-041-68/+58
| | | | | | | | function old new delta md5_sha1_sum_main 455 473 +18 Signed-off-by: Lauri Kasanen <curaga@operamail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* id: correct getgroups usageDenys Vlasenko2011-06-221-16/+15
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* groups: make it NOEXECDenys Vlasenko2011-06-221-3/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: fix HAVE_STRVERSCMP check; add check for older uclibc versionsDenys Vlasenko2011-06-211-1/+1
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* groups: new appletTito Ragusa2011-06-213-11/+36
| | | | | Signed-off-by: Tito Ragusa <farmatito@tiscali.it> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* Add HAVE_STRVERSCMP, guard the only usage of strverscmp with #ifdefDenys Vlasenko2011-06-211-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: fix comment about -p (it's compatible now)Denys Vlasenko2011-06-131-4/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* ls: make -v and -X actually work as intendedDenys Vlasenko2011-06-131-7/+15
| | | | | | | | | | function old new delta strverscmp - 236 +236 sortcmp 186 254 +68 static.result_type - 60 +60 static.next_state 12 16 +4 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: remove "Options:" string from help textsDenys Vlasenko2011-06-0549-55/+1
| | | | | | | function old new delta packed_usage 28706 28623 -83 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* od: code shrinkDenys Vlasenko2011-05-211-14/+10
| | | | | | | function old new delta od_main 2147 2132 -15 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>