summaryrefslogtreecommitdiff
path: root/coreutils/uudecode.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* don't pass argc in getopt32, it's superfluousDenis Vlasenko2007-08-181-1/+1
| | | | | | | | (add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
* uudecode: nuke duplicate base64_table[]. saves 65 bytesDenis Vlasenko2007-06-121-6/+7
|
* uudecode: fix to base64 decode by Jorgen Cederlof <jcz@google.com>Denis Vlasenko2007-06-041-18/+50
| | | | | | | | | | | | | | | improved help texts # make bloatcheck function old new delta .rodata 127000 127032 +32 packed_usage 22156 22151 -5 uudecode_main 360 348 -12 uuencode_main 490 468 -22 read_base64 283 254 -29 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 1/4 up/down: 32/-68) Total: -36 bytes
* 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
* - make read_stduu() and read_base64() void, small size tweaksBernhard Reutner-Fischer2007-01-201-9/+8
|
* Trailing whitespace removal over entire treeDenis Vlasenko2007-01-111-1/+1
|
* inline strcmp(s, "-") [actually macro-ize it for now - gcc is too stupid]Denis Vlasenko2006-12-161-1/+1
|
* last nail into error_msg() (de)capitalizationDenis Vlasenko2006-10-271-8/+8
|
* rename functions to more understandable namesDenis Vlasenko2006-10-261-1/+1
|
* bb_get_[chomped]line_from_file wasn't descriptive enough.Denis Vlasenko2006-10-121-2/+2
| | | | Renaming...
* getopt_ulflags -> getopt32.Denis Vlasenko2006-10-031-1/+1
| | | | | | | | It is impossible to formulate sane ABI based on size of ulong because it can be 32-bit or 64-bit. Basically it means that you cannot portably use more that 32 option chars in one call anyway... Make it explicit.
* Another attempt at untangling the logic so the compiler can follow it and notRob Landley2006-09-231-24/+23
| | | | generate pointless warnings.
* Follow-up to 16172: this also doesn't produce a warning for me on gcc 4.1,Rob Landley2006-09-221-1/+1
| | | | without having to feed the compiler nonsense.
* - silence gcc warning about a funcptr possibly being used uninitialized.Bernhard Reutner-Fischer2006-09-211-2/+2
| | | | | | | This is a perfect example on where we should NOT care if the functor is not initialized since the result will not be what the user may expect. Safe bet would be to init to NULL, but let's try normal uu for good measure. - fix commentary typo while at it.
* - merge -r15463:15564 from busybox_scratch branch through these changesets:Bernhard Reutner-Fischer2006-08-201-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------ r15465 | aldot | 2006-06-21 20:48:06 +0200 (Wed, 21 Jun 2006) | 3 lines - use CONFIG_BUSYBOX_EXEC_PATH as before it one was broken by a recent revert. - use xchdir() since all is invain if it fails there anyways, supposedly ------------------------------------------------------------------------ r15466 | aldot | 2006-06-21 20:55:16 +0200 (Wed, 21 Jun 2006) | 2 lines - adjust docs to take CONFIG_BUSYBOX_EXEC_PATH into account. ------------------------------------------------------------------------ r15467 | aldot | 2006-06-21 21:31:24 +0200 (Wed, 21 Jun 2006) | 18 lines - partial fallout of my TREE_USED touchup against gcc-4.2: rip unused vars, save s 144 bytes text data bss dec hex filename 862434 10156 645924 1518514 172bb2 busybox.old 862322 10156 645892 1518370 172b22 busybox function old new delta z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 new_text 70 60 -10 ipaddr_list_link 33 23 -10 gzip_main 898 822 -76 ------------------------------------------------------------------------------ (add/remove: 0/6 grow/shrink: 0/3 up/down: 0/-120) Total: -120 bytes ------------------------------------------------------------------------ r15468 | aldot | 2006-06-21 21:43:05 +0200 (Wed, 21 Jun 2006) | 19 lines - remove useless global exports function old new delta rpm_main 940 1601 +661 rpm_getstring 107 112 +5 rpm_getint 148 153 +5 loop_through_files 103 106 +3 fileaction_dobackup 115 113 -2 fileaction_list 5 - -5 rpm_getcount 42 - -42 extract_cpio_gz 161 - -161 rpm_gettags 504 - -504 ------------------------------------------------------------------------------ (add/remove: 0/4 grow/shrink: 4/1 up/down: 674/-714) Total: -40 bytes text data bss dec hex filename 862322 10156 645892 1518370 172b22 busybox.old 862290 10156 645892 1518338 172b02 busybox ------------------------------------------------------------------------ r15555 | aldot | 2006-06-30 14:10:11 +0200 (Fri, 30 Jun 2006) | 22 lines - shrink syslog a little bit, move a big buffer (for 'line') off the bss, fold s emaphore stuff into single caller manually. stats: function old new delta logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 small 1 - -1 local_logging 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 syslogd_main 1299 1285 -14 static.res 36 16 -20 .rodata 186650 186586 -64 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/5 grow/shrink: 2/3 up/down: 48/-1136) Total: -1088 bytes cow@s37:~/src/busybox_scratch$ size sysklogd/syslogd.o{.orig,} text data bss dec hex filename 3723 348 5242 9313 2461 sysklogd/syslogd.o.orig 3697 348 4188 8233 2029 sysklogd/syslogd.o ============================================================================== Overall bloatcheck for the changeset mentioned above: function old new delta rpm_main 953 1608 +655 logMessage 395 427 +32 message 1245 1257 +12 opts - 4 +4 rpm_getstring 107 110 +3 rpm_getint 148 151 +3 loop_through_files 103 104 +1 small 1 - -1 fileaction_dobackup 115 113 -2 z_len 4 - -4 textend 4 - -4 part_nb 4 - -4 local_logging 4 - -4 insize 4 - -4 ifile_size 4 - -4 do_link 4 - -4 doRemoteLog 4 - -4 circular_logging 4 - -4 fileaction_list 5 - -5 new_text 70 60 -10 ipaddr_list_link 33 23 -10 clear_bufs 31 21 -10 syslogd_main 1287 1273 -14 builtin_help 190 176 -14 static.res 36 16 -20 builtin_source 229 199 -30 rpm_getcount 42 - -42 gzip_main 842 786 -56 .rodata 227176 227112 -64 lash_main 609 527 -82 busy_loop 3883 3739 -144 extract_cpio_gz 155 - -155 rpm_gettags 501 - -501 static.line 1025 - -1025 ------------------------------------------------------------------------------ (add/remove: 1/15 grow/shrink: 6/12 up/down: 710/-2221) Total: -1511 bytes
* Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley2006-08-031-7/+2
| | | | | | | | | | things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
* Remove code that can't be reached.Rob Landley2006-07-311-3/+1
|
* Standardize on the vi editing directives being on the first line."Robert P. J. Day"2006-07-021-0/+1
|
* Glenn gave permission for GPLv2 "or later".Rob Landley2006-04-171-14/+3
|
* Robert P. Day removed 8 gazillion occurrences of "extern" on functionRob Landley2006-03-061-1/+1
| | | | definitions. (That should only be on prototypes.)
* more better for me signed<->unsigned and the const keyword usage"Vladimir N. Oleynik"2006-01-311-3/+3
|
* clean up yet more annoying signed/unsigned mismatches and fixupEric Andersen2006-01-301-1/+1
| | | | yet more incorrect types
* just whitespaceTim Riker2006-01-251-5/+5
|
* change strange depend to libbb.h, but require busybox.h"Vladimir N. Oleynik"2005-10-061-2/+1
|
* Cleanup patch by Bernhard Fischer, removing unnecessary includes ofRob Landley2005-09-111-1/+1
| | | | getopt.h, whitespace changes, typos, etc.
* Update my email address, document some of my tasks in the AUTHORS fileGlenn L McGrath2004-04-251-1/+1
|
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-2/+2
|
* Rewrite, 800+ bytes smaller and more robust.Glenn L McGrath2003-11-061-330/+178
|
* Major coreutils update.Manuel Novoa III2003-03-191-13/+13
|
* Scrub pwd.h and grp.h handling so we don't have to play anyEric Andersen2002-07-031-2/+2
| | | | | silly games. -Erik
* Fixup the location of pwd.h and grp.hEric Andersen2001-10-241-2/+2
|
* Latest patch from vodz. Adds a check for divide by zero in the posixEric Andersen2001-08-021-8/+2
| | | | | | math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere.
* Some adjustments, mostly from David McCullough <davidm@lineo.com> toEric Andersen2001-07-191-3/+12
| | | | | | | make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-1/+1
| | | | | | header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-1/+1
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai2001-01-311-10/+10
|
* Fix header file usage -- there were many unnecessary header files included inEric Andersen2001-01-271-0/+4
| | | | | | | busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
* Add in a patch to make busybox use the normal pwd.h and grp.hEric Andersen2001-01-271-1/+0
| | | | | | functions. Add in simple implementations of these functions, which can, optionally, be used instead of the system versions. -Erik
* Change calls to error_msg.* and strerror to use perror_msg.*.Matt Kraai2000-12-181-2/+2
|
* Changed names of functions in utility.c and all affected files, to makeMark Whitley2000-12-071-12/+12
| | | | compliant with the style guide. Everybody rebuild your tags file!
* Stop using TRUE and FALSE for exit status.Matt Kraai2000-12-011-3/+3
|
* Remove the BSD advertising clause, and replace it with a link to howEric Andersen2000-11-141-31/+36
| | | | the advertising clause has been retroactivly declared null and void.
* Renamed "internal.h" to the more sensible "busybox.h".Eric Andersen2000-09-251-1/+1
| | | | -Erik
* Extract usage information into a separate file.Matt Kraai2000-07-161-9/+0
|
* Always report the applet name when doing error reporting.Matt Kraai2000-07-121-2/+2
|
* More portability updates. Now compiles cleanly vs glibc, libc5, and uclibcEric Andersen2000-07-091-0/+1
| | | | | | (except for mkfs_minix and fsck_minix -- and it doesn't yet link vs uclibc due to missing stuff in the library). -Erik
* Updates to a number of apps to remove warnings/compile errors under libc5.Eric Andersen2000-06-191-1/+1
| | | | | Tested under both libc5 and libc6 and all seems well with these fixes. -Erik
* Add new apps md5sum uudecode uuencode, fix some minor formatting things.Eric Andersen2000-06-131-0/+350
-Erik