Ignore:
Timestamp:
Jan 1, 2014, 12:47:38 AM (7 years ago)
Author:
Bruno Cornec
Message:
  • Update mindi-busybox to 1.21.1
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.2/mindi-busybox/coreutils/uudecode.c

    r2725 r3232  
    1111 * "end" line
    1212 */
     13
     14//usage:#define uudecode_trivial_usage
     15//usage:       "[-o OUTFILE] [INFILE]"
     16//usage:#define uudecode_full_usage "\n\n"
     17//usage:       "Uudecode a file\n"
     18//usage:       "Finds OUTFILE in uuencoded source unless -o is given"
     19//usage:
     20//usage:#define uudecode_example_usage
     21//usage:       "$ uudecode -o busybox busybox.uu\n"
     22//usage:       "$ ls -l busybox\n"
     23//usage:       "-rwxr-xr-x   1 ams      ams        245264 Jun  7 21:35 busybox\n"
     24
    1325#include "libbb.h"
    1426
     
    114126        if (outname == NULL) {
    115127            outname = strchr(line_ptr, ' ');
    116             if ((outname == NULL) || (*outname == '\0')) {
    117                 break;
    118             }
     128            if (!outname)
     129                break;
    119130            outname++;
     131            if (!outname[0])
     132                break;
    120133        }
    121134        dst_stream = stdout;
     
    133146#endif
    134147
    135 //applet:IF_BASE64(APPLET(base64, _BB_DIR_BIN, _BB_SUID_DROP))
     148//applet:IF_BASE64(APPLET(base64, BB_DIR_BIN, BB_SUID_DROP))
    136149
    137150//kbuild:lib-$(CONFIG_BASE64) += uudecode.o
     
    147160//usage:#define base64_full_usage "\n\n"
    148161//usage:       "Base64 encode or decode FILE to standard output"
    149 //usage:     "\nOptions:"
    150162//usage:     "\n    -d  Decode data"
    151163////usage:     "\n  -w COL  Wrap lines at COL (default 76, 0 disables)"
Note: See TracChangeset for help on using the changeset viewer.