Changeset 3232 in MondoRescue for branches/3.2/mindi-busybox/coreutils/uudecode.c
- Timestamp:
- Jan 1, 2014, 12:47:38 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.2/mindi-busybox/coreutils/uudecode.c
r2725 r3232 11 11 * "end" line 12 12 */ 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 13 25 #include "libbb.h" 14 26 … … 114 126 if (outname == NULL) { 115 127 outname = strchr(line_ptr, ' '); 116 if ((outname == NULL) || (*outname == '\0')) { 117 break; 118 } 128 if (!outname) 129 break; 119 130 outname++; 131 if (!outname[0]) 132 break; 120 133 } 121 134 dst_stream = stdout; … … 133 146 #endif 134 147 135 //applet:IF_BASE64(APPLET(base64, _BB_DIR_BIN, _BB_SUID_DROP))148 //applet:IF_BASE64(APPLET(base64, BB_DIR_BIN, BB_SUID_DROP)) 136 149 137 150 //kbuild:lib-$(CONFIG_BASE64) += uudecode.o … … 147 160 //usage:#define base64_full_usage "\n\n" 148 161 //usage: "Base64 encode or decode FILE to standard output" 149 //usage: "\nOptions:"150 162 //usage: "\n -d Decode data" 151 163 ////usage: "\n -w COL Wrap lines at COL (default 76, 0 disables)"
Note:
See TracChangeset
for help on using the changeset viewer.