aboutsummaryrefslogtreecommitdiff
path: root/miscutils/strings.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-07-31 16:37:57 +0000
committerRob Landley <rob@landley.net>2006-07-31 16:37:57 +0000
commitc052576821e75dff7424144c1cc0646ed68bd1c9 (patch)
tree1d600aae2c6c649c0fa3dd686009d4fa9da3c121 /miscutils/strings.c
parent91dc086d63e5ce5a52034a080a672314daf12fee (diff)
downloadbusybox-w32-c052576821e75dff7424144c1cc0646ed68bd1c9.tar.gz
busybox-w32-c052576821e75dff7424144c1cc0646ed68bd1c9.tar.bz2
busybox-w32-c052576821e75dff7424144c1cc0646ed68bd1c9.zip
Tito said that strings is a complete rewrite.
Diffstat (limited to 'miscutils/strings.c')
-rw-r--r--miscutils/strings.c43
1 files changed, 2 insertions, 41 deletions
diff --git a/miscutils/strings.c b/miscutils/strings.c
index 107f6b4c4..9a76c8534 100644
--- a/miscutils/strings.c
+++ b/miscutils/strings.c
@@ -2,15 +2,9 @@
2/* 2/*
3 * strings implementation for busybox 3 * strings implementation for busybox
4 * 4 *
5 * Copyright (c) 1980, 1987 5 * Copyright Tito Ragusa <farmatito@tiscali.it>
6 * The Regents of the University of California. All rights reserved. 6 *
7 *
8 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. 7 * Licensed under the GPL v2 or later, see the file LICENSE in this tarball.
9 *
10 * Original copyright notice is retained at the end of this file.
11 *
12 * Modified for BusyBox by Erik Andersen <andersen@codepoet.org>
13 * Badly hacked by Tito Ragusa <farmatito@tiscali.it>
14 */ 8 */
15 9
16#include "busybox.h" 10#include "busybox.h"
@@ -91,36 +85,3 @@ PIPE:
91 85
92 bb_fflush_stdout_and_exit(status); 86 bb_fflush_stdout_and_exit(status);
93} 87}
94
95/*
96 * Copyright (c) 1980, 1987
97 * The Regents of the University of California. All rights reserved.
98 *
99 * Redistribution and use in source and binary forms, with or without
100 * modification, are permitted provided that the following conditions
101 * are met:
102 * 1. Redistributions of source code must retain the above copyright
103 * notice, this list of conditions and the following disclaimer.
104 * 2. Redistributions in binary form must reproduce the above copyright
105 * notice, this list of conditions and the following disclaimer in the
106 * documentation and/or other materials provided with the distribution.
107 *
108 * 3. <BSD Advertising Clause omitted per the July 22, 1999 licensing change
109 * ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change>
110 *
111 * 4. Neither the name of the University nor the names of its contributors
112 * may be used to endorse or promote products derived from this software
113 * without specific prior written permission.
114 *
115 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
116 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
117 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
118 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
119 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
120 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
121 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
122 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
123 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
124 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
125 * SUCH DAMAGE.
126 */