diff options
Diffstat (limited to 'coreutils/uuencode.c')
| -rw-r--r-- | coreutils/uuencode.c | 68 |
1 files changed, 36 insertions, 32 deletions
diff --git a/coreutils/uuencode.c b/coreutils/uuencode.c index 5835bd22a..aea99ed87 100644 --- a/coreutils/uuencode.c +++ b/coreutils/uuencode.c | |||
| @@ -15,43 +15,13 @@ | |||
| 15 | * along with this product; see the file COPYING. If not, write to | 15 | * along with this product; see the file COPYING. If not, write to |
| 16 | * the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA | 16 | * the Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA |
| 17 | * 02111-1307, USA. | 17 | * 02111-1307, USA. |
| 18 | */ | ||
| 19 | |||
| 20 | /* Copyright (c) 1983 Regents of the University of California. | ||
| 21 | * All rights reserved. | ||
| 22 | * | ||
| 23 | * Redistribution and use in source and binary forms, with or without | ||
| 24 | * modification, are permitted provided that the following conditions | ||
| 25 | * are met: | ||
| 26 | * 1. Redistributions of source code must retain the above copyright | ||
| 27 | * notice, this list of conditions and the following disclaimer. | ||
| 28 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 29 | * notice, this list of conditions and the following disclaimer in the | ||
| 30 | * documentation and/or other materials provided with the distribution. | ||
| 31 | * 3. All advertising materials mentioning features or use of this software | ||
| 32 | * must display the following acknowledgement: | ||
| 33 | * This product includes software developed by the University of | ||
| 34 | * California, Berkeley and its contributors. | ||
| 35 | * 4. Neither the name of the University nor the names of its contributors | ||
| 36 | * may be used to endorse or promote products derived from this software | ||
| 37 | * without specific prior written permission. | ||
| 38 | * | 18 | * |
| 39 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | 19 | * Original copyright notice is retained at the end of this file. |
| 40 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 41 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 42 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
| 43 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 44 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
| 45 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 46 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 47 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 48 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 49 | * SUCH DAMAGE. | ||
| 50 | */ | 20 | */ |
| 51 | |||
| 52 | /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93. */ | 21 | /* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93. */ |
| 53 | /* Hacked to work with BusyBox by Alfred M. Szmidt */ | 22 | /* Hacked to work with BusyBox by Alfred M. Szmidt */ |
| 54 | 23 | ||
| 24 | |||
| 55 | #include "busybox.h" | 25 | #include "busybox.h" |
| 56 | 26 | ||
| 57 | #include <stdio.h> | 27 | #include <stdio.h> |
| @@ -234,3 +204,37 @@ int uuencode_main (int argc, | |||
| 234 | } | 204 | } |
| 235 | return( TRUE); | 205 | return( TRUE); |
| 236 | } | 206 | } |
| 207 | |||
| 208 | /* Copyright (c) 1983 Regents of the University of California. | ||
| 209 | * All rights reserved. | ||
| 210 | * | ||
| 211 | * Redistribution and use in source and binary forms, with or without | ||
| 212 | * modification, are permitted provided that the following conditions | ||
| 213 | * are met: | ||
| 214 | * 1. Redistributions of source code must retain the above copyright | ||
| 215 | * notice, this list of conditions and the following disclaimer. | ||
| 216 | * 2. Redistributions in binary form must reproduce the above copyright | ||
| 217 | * notice, this list of conditions and the following disclaimer in the | ||
| 218 | * documentation and/or other materials provided with the distribution. | ||
| 219 | * | ||
| 220 | * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change | ||
| 221 | * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change> | ||
| 222 | * | ||
| 223 | * 4. Neither the name of the University nor the names of its contributors | ||
| 224 | * may be used to endorse or promote products derived from this software | ||
| 225 | * without specific prior written permission. | ||
| 226 | * | ||
| 227 | * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | ||
| 228 | * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 229 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
| 230 | * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | ||
| 231 | * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | ||
| 232 | * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | ||
| 233 | * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 234 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
| 235 | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||
| 236 | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||
| 237 | * SUCH DAMAGE. | ||
| 238 | */ | ||
| 239 | |||
| 240 | |||
