aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/echo.c8
-rw-r--r--coreutils/uudecode.c67
-rw-r--r--coreutils/uuencode.c68
3 files changed, 76 insertions, 67 deletions
diff --git a/coreutils/echo.c b/coreutils/echo.c
index 6890d95e0..8d25be7a5 100644
--- a/coreutils/echo.c
+++ b/coreutils/echo.c
@@ -86,10 +86,10 @@ echo_main(int argc, char** argv)
86 * 2. Redistributions in binary form must reproduce the above copyright 86 * 2. Redistributions in binary form must reproduce the above copyright
87 * notice, this list of conditions and the following disclaimer in the 87 * notice, this list of conditions and the following disclaimer in the
88 * documentation and/or other materials provided with the distribution. 88 * documentation and/or other materials provided with the distribution.
89 * 3. All advertising materials mentioning features or use of this software 89 *
90 * must display the following acknowledgement: 90 * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change
91 * This product includes software developed by the University of 91 * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>
92 * California, Berkeley and its contributors. 92 *
93 * 4. Neither the name of the University nor the names of its contributors 93 * 4. Neither the name of the University nor the names of its contributors
94 * may be used to endorse or promote products derived from this software 94 * may be used to endorse or promote products derived from this software
95 * without specific prior written permission. 95 * without specific prior written permission.
diff --git a/coreutils/uudecode.c b/coreutils/uudecode.c
index 965ded5b5..78ca0968d 100644
--- a/coreutils/uudecode.c
+++ b/coreutils/uudecode.c
@@ -15,41 +15,12 @@
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 * 18 *
23 * Redistribution and use in source and binary forms, with or without 19 * Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93.
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 * 20 *
39 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21 * 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 */ 22 */
51 23
52/* Reworked to GNU style by Ian Lance Taylor, ian@airs.com, August 93. */
53 24
54#include "busybox.h" 25#include "busybox.h"
55 26
@@ -340,3 +311,37 @@ int uudecode_main (int argc,
340 } 311 }
341 return(exit_status); 312 return(exit_status);
342} 313}
314
315/* Copyright (c) 1983 Regents of the University of California.
316 * All rights reserved.
317 *
318 * Redistribution and use in source and binary forms, with or without
319 * modification, are permitted provided that the following conditions
320 * are met:
321 * 1. Redistributions of source code must retain the above copyright
322 * notice, this list of conditions and the following disclaimer.
323 * 2. Redistributions in binary form must reproduce the above copyright
324 * notice, this list of conditions and the following disclaimer in the
325 * documentation and/or other materials provided with the distribution.
326 *
327 * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change
328 * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>
329 *
330 * 4. Neither the name of the University nor the names of its contributors
331 * may be used to endorse or promote products derived from this software
332 * without specific prior written permission.
333 *
334 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
335 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
336 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
337 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
338 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
339 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
340 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
341 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
342 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
343 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
344 * SUCH DAMAGE.
345 */
346
347
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