aboutsummaryrefslogtreecommitdiff
path: root/coreutils/od.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* od: code shrink, fix "od --traditional FILE"Denys Vlasenko2011-05-211-3/+4
| | | | | | | | | function old new delta parse_old_offset 107 125 +18 packed_usage 28715 28691 -24 od_main 2312 2275 -37 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* move help text from include/usage.src.h to coreutils/*.cPere Orga2011-03-311-0/+5
| | | | | Signed-off-by: Pere Orga <gotrunks@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* whitespace cleanupDenys Vlasenko2010-10-291-2/+2
| | | | Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
* *: whitespace fixesDenys Vlasenko2010-10-281-14/+14
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: make GNU licensing statement forms more regularDenys Vlasenko2010-08-161-1/+1
| | | | | | | This change retains "or later" state! No licensing _changes_ here, only form is adjusted (article, space between "GPL" and "v2" and so on). Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* *: optimize most of isXXXXX() macrosDenys Vlasenko2009-10-231-8/+5
| | | | | | | | text data bss dec hex filename 824164 453 6812 831429 cafc5 busybox_old 823730 453 6812 830995 cae13 busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libbb: get rid of statics in dump.c; code shrinks a lot tooDenis Vlasenko2008-07-161-25/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | function old new delta alloc_dumper - 26 +26 hexdump_main 600 601 +1 static.done 1 - -1 static.ateof 1 - -1 bb_dump_vflag 1 - -1 static.savp 4 - -4 static.nextfs 4 - -4 static.curp 4 - -4 exitval 4 - -4 endfu 4 - -4 bb_dump_length 4 - -4 bb_dump_fshead 4 - -4 bb_dump_blocksize 4 - -4 _argv 4 - -4 bb_dump_add 365 358 -7 savaddress 8 - -8 eaddress 8 - -8 bb_dump_skip 8 - -8 address 8 - -8 bb_dump_dump 2748 2672 -76 next 538 445 -93 ------------------------------------------------------------------------------ (add/remove: 1/16 grow/shrink: 1/3 up/down: 27/-247) Total: -220 bytes text data bss dec hex filename 789458 607 6764 796829 c289d busybox_old 789309 601 6696 796606 c27be busybox_unstripped
* patch: shrink by Pascal Bellard <pascal.bellard AT ads-lu.com> (-80 bytes)Denis Vlasenko2008-03-231-1/+0
| | | | | *: removal of #include <getopt.h>
* add -fvisibility=hidden to CC flags, mark XXX_main functionsDenis Vlasenko2007-10-111-1/+1
| | | | | EXTERNALLY_VISIBLE. 5% size reduction of libbusybox.so
* trylink: produce even more info about final link stageDenis Vlasenko2007-08-121-3/+3
| | | | | | | | | trylink: explain how to modify link and drastically decrease amount of padding (unfortunately, needs hand editing ATM). *: add ALIGN1 / ALIGN2 to global strings and arrays of bytes and shorts size saving: 0.5k
* usage.c: remove reference to busybox.hDenis Vlasenko2007-05-261-1/+1
| | | | | *: s/include "busybox.h"/include "libbb.h"
* suppress warnings about easch <applet>_main() havingDenis Vlasenko2007-02-031-0/+1
| | | | no preceding prototype
* - include busybox.h before looking at an eventual #if ENABLE_DESKTOPBernhard Reutner-Fischer2007-02-031-2/+2
|
* Provide our own isdigit macro. saves more than 400 bytes.Denis Vlasenko2006-11-271-1/+1
|
* od: provide full-blown od from coreutils if CONFIG_DESKTOPDenis Vlasenko2006-10-101-4/+6
|
* sed: unbreak multiple -e, -f option handling (my fault)Denis Vlasenko2006-10-011-1/+1
|
* g[un]zip: add support for -v (verbose).Denis Vlasenko2006-10-011-0/+2
| | | | | Add CONFIG_DESKTOP, almost all bloat from this change is hidden under that.
* Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"2006-07-121-13/+1
|
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* Remove all usage of the "register" storage class specifier."Robert P. J. Day"2006-07-011-1/+1
|
* clean up yet more annoying signed/unsigned mismatches and fixupEric Andersen2006-01-301-5/+5
| | | | yet more incorrect types
* Felipe Kellermann writes,Glenn L McGrath2004-07-231-5/+5
| | | | | | | | "As noticed today by Steven Scholz, the od's `-v' was broken. I've fixed that and now both the flags `-v' and `-a' are OK" Fixes a segfault in echo "uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu\02bar\4"| ./busybox od -av
* Things my compiler didn't catch...Manuel Novoa III2003-03-191-2/+2
|
* Major coreutils update.Manuel Novoa III2003-03-191-122/+81
|
* Will the real od.c please stand up! (my previous commit was a mistake)Glenn L McGrath2002-11-101-64/+230
|
* Prevent a segfault if no argument, by Geoffrey Lee <glee@bluesat.unsw.edu.au>Glenn L McGrath2002-11-101-224/+64
|
* Remove advertising clauses in accordance withAaron Lehmann2002-06-231-5/+1
| | | | ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change
* Introduce od and hexdump appletsGlenn L McGrath2001-11-021-0/+270