summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/patch.c
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>2002-03-05 08:56:55 +0000
committerniklas <niklas@openbsd.org>2002-03-05 08:56:55 +0000
commit35f3aed4ede0421933457f13f111d4c9dfedd11f (patch)
tree5a5a6f4fc000fd5b8f050a5180352dd39bfeb9f7 /usr.bin/patch/patch.c
parenton redirect output, always try to attach target link layer address option. (diff)
downloadwireguard-openbsd-35f3aed4ede0421933457f13f111d4c9dfedd11f.tar.xz
wireguard-openbsd-35f3aed4ede0421933457f13f111d4c9dfedd11f.zip
patch(1) is now free, thanks Larry!
Diffstat (limited to 'usr.bin/patch/patch.c')
-rw-r--r--usr.bin/patch/patch.c23
1 files changed, 19 insertions, 4 deletions
diff --git a/usr.bin/patch/patch.c b/usr.bin/patch/patch.c
index e5a75225391..75a33895a86 100644
--- a/usr.bin/patch/patch.c
+++ b/usr.bin/patch/patch.c
@@ -1,18 +1,33 @@
-/* $OpenBSD: patch.c,v 1.13 1999/12/04 01:01:06 provos Exp $ */
+/* $OpenBSD: patch.c,v 1.14 2002/03/05 08:56:55 niklas Exp $ */
/* patch - a program to apply diffs to original files
*
* Copyright 1986, Larry Wall
*
- * This program may be copied as long as you don't try to make any
- * money off of it, or pretend that you wrote it.
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following condition
+ * is met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this condition and the following disclaimer.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
*
* -C option added in 1998, original code by Marc Espie,
* based on FreeBSD behaviour
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: patch.c,v 1.13 1999/12/04 01:01:06 provos Exp $";
+static char rcsid[] = "$OpenBSD: patch.c,v 1.14 2002/03/05 08:56:55 niklas Exp $";
#endif /* not lint */
#include "INTERN.h"