summaryrefslogtreecommitdiff
path: root/lib/libedit
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2009-10-28 00:00:00 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2009-10-28 00:00:00 +0000
commitd6f987883e262363e2689803a36a7c32736476cc (patch)
tree1158893c08ead8fccdd4ac523d3492f68c4c1cda /lib/libedit
parent94ea65f5c4b7bedff1d6c9caca5363f926955d43 (diff)
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
Diffstat (limited to 'lib/libedit')
-rw-r--r--lib/libedit/TEST/test.c14
-rw-r--r--lib/libedit/chared.c9
-rw-r--r--lib/libedit/common.c9
-rw-r--r--lib/libedit/el.c9
-rw-r--r--lib/libedit/emacs.c9
-rw-r--r--lib/libedit/hist.c9
-rw-r--r--lib/libedit/history.c9
-rw-r--r--lib/libedit/key.c9
-rw-r--r--lib/libedit/map.c9
-rw-r--r--lib/libedit/parse.c9
-rw-r--r--lib/libedit/prompt.c9
-rw-r--r--lib/libedit/read.c9
-rw-r--r--lib/libedit/readline.c5
-rw-r--r--lib/libedit/refresh.c9
-rw-r--r--lib/libedit/search.c9
-rw-r--r--lib/libedit/sig.c9
-rw-r--r--lib/libedit/term.c9
-rw-r--r--lib/libedit/tokenizer.c10
-rw-r--r--lib/libedit/tty.c9
-rw-r--r--lib/libedit/vi.c10
20 files changed, 20 insertions, 163 deletions
diff --git a/lib/libedit/TEST/test.c b/lib/libedit/TEST/test.c
index 03e3d237db3..a4f61e331e0 100644
--- a/lib/libedit/TEST/test.c
+++ b/lib/libedit/TEST/test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: test.c,v 1.7 2005/05/22 05:45:35 otto Exp $ */
+/* $OpenBSD: test.c,v 1.8 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: test.c,v 1.13 2003/08/07 16:44:35 agc Exp $ */
/*-
@@ -34,18 +34,6 @@
*/
#include "config.h"
-#ifndef lint
-//__COPYRIGHT("@(#) Copyright (c) 1992, 1993\n\
-// The Regents of the University of California. All rights reserved.\n");
-#endif /* not lint */
-
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)test.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char *rcsid = "$OpenBSD: test.c,v 1.7 2005/05/22 05:45:35 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* test.c: A little test program
diff --git a/lib/libedit/chared.c b/lib/libedit/chared.c
index 5320542aea7..5a2ffa6b701 100644
--- a/lib/libedit/chared.c
+++ b/lib/libedit/chared.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: chared.c,v 1.8 2003/11/25 20:12:38 otto Exp $ */
+/* $OpenBSD: chared.c,v 1.9 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: chared.c,v 1.21 2003/11/02 20:08:41 christos Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)chared.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: chared.c,v 1.8 2003/11/25 20:12:38 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* chared.c: Character editor utilities
diff --git a/lib/libedit/common.c b/lib/libedit/common.c
index 35176dd75ee..5bc5e36b895 100644
--- a/lib/libedit/common.c
+++ b/lib/libedit/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.6 2003/10/31 08:42:24 otto Exp $ */
+/* $OpenBSD: common.c,v 1.7 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: common.c,v 1.16 2003/08/07 16:44:30 agc Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)common.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: common.c,v 1.6 2003/10/31 08:42:24 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* common.c: Common Editor functions
diff --git a/lib/libedit/el.c b/lib/libedit/el.c
index c7a6a327879..c3fd43b4b2d 100644
--- a/lib/libedit/el.c
+++ b/lib/libedit/el.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: el.c,v 1.14 2004/08/23 18:31:25 otto Exp $ */
+/* $OpenBSD: el.c,v 1.15 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: el.c,v 1.36 2003/10/18 23:48:42 christos Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)el.c 8.2 (Berkeley) 1/3/94";
-#else
-static const char rcsid[] = "$OpenBSD: el.c,v 1.14 2004/08/23 18:31:25 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* el.c: EditLine interface functions
diff --git a/lib/libedit/emacs.c b/lib/libedit/emacs.c
index b0e13cbaa79..75f71f575ad 100644
--- a/lib/libedit/emacs.c
+++ b/lib/libedit/emacs.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: emacs.c,v 1.7 2003/11/25 20:12:38 otto Exp $ */
+/* $OpenBSD: emacs.c,v 1.8 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: emacs.c,v 1.16 2003/11/02 20:07:58 christos Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)emacs.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: emacs.c,v 1.7 2003/11/25 20:12:38 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* emacs.c: Emacs functions
diff --git a/lib/libedit/hist.c b/lib/libedit/hist.c
index e56206ba745..25d4aeb38e3 100644
--- a/lib/libedit/hist.c
+++ b/lib/libedit/hist.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hist.c,v 1.7 2003/11/25 20:12:38 otto Exp $ */
+/* $OpenBSD: hist.c,v 1.8 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: hist.c,v 1.15 2003/11/01 23:36:39 christos Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)hist.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: hist.c,v 1.7 2003/11/25 20:12:38 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* hist.c: History access functions
diff --git a/lib/libedit/history.c b/lib/libedit/history.c
index dffbe21dbe0..c72f0eab0d6 100644
--- a/lib/libedit/history.c
+++ b/lib/libedit/history.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: history.c,v 1.13 2004/08/23 18:31:25 otto Exp $ */
+/* $OpenBSD: history.c,v 1.14 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: history.c,v 1.25 2003/10/18 23:48:42 christos Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)history.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: history.c,v 1.13 2004/08/23 18:31:25 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* hist.c: History access functions
diff --git a/lib/libedit/key.c b/lib/libedit/key.c
index eba3dbbcf84..5a32bef030e 100644
--- a/lib/libedit/key.c
+++ b/lib/libedit/key.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: key.c,v 1.9 2003/11/25 20:12:38 otto Exp $ */
+/* $OpenBSD: key.c,v 1.10 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: key.c,v 1.15 2003/10/18 23:48:42 christos Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)key.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: key.c,v 1.9 2003/11/25 20:12:38 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* key.c: This module contains the procedures for maintaining
diff --git a/lib/libedit/map.c b/lib/libedit/map.c
index 0e5d50f0639..54a165c9f86 100644
--- a/lib/libedit/map.c
+++ b/lib/libedit/map.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: map.c,v 1.9 2003/10/31 08:42:24 otto Exp $ */
+/* $OpenBSD: map.c,v 1.10 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: map.c,v 1.19 2003/08/07 16:44:32 agc Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)map.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: map.c,v 1.9 2003/10/31 08:42:24 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* map.c: Editor function definitions
diff --git a/lib/libedit/parse.c b/lib/libedit/parse.c
index 9dbc09083ae..29670ac5df2 100644
--- a/lib/libedit/parse.c
+++ b/lib/libedit/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.8 2003/11/25 20:12:38 otto Exp $ */
+/* $OpenBSD: parse.c,v 1.9 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: parse.c,v 1.19 2003/11/02 20:06:57 christos Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)parse.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: parse.c,v 1.8 2003/11/25 20:12:38 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* parse.c: parse an editline extended command
diff --git a/lib/libedit/prompt.c b/lib/libedit/prompt.c
index a7454a1d599..0ad61143164 100644
--- a/lib/libedit/prompt.c
+++ b/lib/libedit/prompt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: prompt.c,v 1.7 2003/10/31 08:42:24 otto Exp $ */
+/* $OpenBSD: prompt.c,v 1.8 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: prompt.c,v 1.11 2003/08/07 16:44:32 agc Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)prompt.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: prompt.c,v 1.7 2003/10/31 08:42:24 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* prompt.c: Prompt printing functions
diff --git a/lib/libedit/read.c b/lib/libedit/read.c
index 28686ff81f3..6fa9cf097cb 100644
--- a/lib/libedit/read.c
+++ b/lib/libedit/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.11 2003/11/25 20:12:38 otto Exp $ */
+/* $OpenBSD: read.c,v 1.12 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: read.c,v 1.30 2003/10/18 23:48:42 christos Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)read.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: read.c,v 1.11 2003/11/25 20:12:38 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* read.c: Clean this junk up! This is horrible code.
diff --git a/lib/libedit/readline.c b/lib/libedit/readline.c
index b1dedbe932e..267527fa7c8 100644
--- a/lib/libedit/readline.c
+++ b/lib/libedit/readline.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: readline.c,v 1.6 2009/06/21 00:38:22 martynas Exp $ */
+/* $OpenBSD: readline.c,v 1.7 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: readline.c,v 1.43 2003/11/03 03:22:55 christos Exp $ */
/*-
@@ -31,9 +31,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-static const char rcsid[] = "$OpenBSD: readline.c,v 1.6 2009/06/21 00:38:22 martynas Exp $";
-#endif /* not lint && not SCCSID */
#include <sys/types.h>
#include <sys/stat.h>
diff --git a/lib/libedit/refresh.c b/lib/libedit/refresh.c
index 2f644d32e05..f2b909ea8e2 100644
--- a/lib/libedit/refresh.c
+++ b/lib/libedit/refresh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: refresh.c,v 1.9 2003/10/31 08:42:24 otto Exp $ */
+/* $OpenBSD: refresh.c,v 1.10 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: refresh.c,v 1.26 2003/08/07 16:44:33 agc Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)refresh.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: refresh.c,v 1.9 2003/10/31 08:42:24 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* refresh.c: Lower level screen refreshing functions
diff --git a/lib/libedit/search.c b/lib/libedit/search.c
index 74fb5d91b53..e9112b24564 100644
--- a/lib/libedit/search.c
+++ b/lib/libedit/search.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: search.c,v 1.10 2003/11/25 20:12:38 otto Exp $ */
+/* $OpenBSD: search.c,v 1.11 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: search.c,v 1.19 2003/10/25 06:42:41 christos Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)search.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: search.c,v 1.10 2003/11/25 20:12:38 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* search.c: History and character search functions
diff --git a/lib/libedit/sig.c b/lib/libedit/sig.c
index 28ce610b0fe..58a62eabe4f 100644
--- a/lib/libedit/sig.c
+++ b/lib/libedit/sig.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sig.c,v 1.10 2003/10/31 08:42:24 otto Exp $ */
+/* $OpenBSD: sig.c,v 1.11 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: sig.c,v 1.11 2003/08/07 16:44:33 agc Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)sig.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: sig.c,v 1.10 2003/10/31 08:42:24 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* sig.c: Signal handling stuff.
diff --git a/lib/libedit/term.c b/lib/libedit/term.c
index 7e92256364a..44af5ff29d7 100644
--- a/lib/libedit/term.c
+++ b/lib/libedit/term.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: term.c,v 1.11 2003/10/31 08:42:24 otto Exp $ */
+/* $OpenBSD: term.c,v 1.12 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: term.c,v 1.38 2003/09/14 21:48:55 christos Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)term.c 8.2 (Berkeley) 4/30/95";
-#else
-static const char rcsid[] = "$OpenBSD: term.c,v 1.11 2003/10/31 08:42:24 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* term.c: Editor/termcap-curses interface
diff --git a/lib/libedit/tokenizer.c b/lib/libedit/tokenizer.c
index 07edc46b350..972e26923cf 100644
--- a/lib/libedit/tokenizer.c
+++ b/lib/libedit/tokenizer.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tokenizer.c,v 1.10 2003/11/25 20:12:38 otto Exp $ */
+/* $OpenBSD: tokenizer.c,v 1.11 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: tokenizer.c,v 1.13 2003/10/18 23:48:42 christos Exp $ */
/*-
@@ -34,14 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)tokenizer.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: tokenizer.c,v 1.10 2003/11/25 20:12:38 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
-
/*
* tokenize.c: Bourne shell like tokenizer
*/
diff --git a/lib/libedit/tty.c b/lib/libedit/tty.c
index 18fa5d032da..f02c44a9b0f 100644
--- a/lib/libedit/tty.c
+++ b/lib/libedit/tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tty.c,v 1.10 2003/11/25 20:12:38 otto Exp $ */
+/* $OpenBSD: tty.c,v 1.11 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: tty.c,v 1.20 2003/10/18 22:37:24 christos Exp $ */
/*-
@@ -34,13 +34,6 @@
*/
#include "config.h"
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)tty.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: tty.c,v 1.10 2003/11/25 20:12:38 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
/*
* tty.c: tty interface stuff
diff --git a/lib/libedit/vi.c b/lib/libedit/vi.c
index 888c1469381..7282fcbee10 100644
--- a/lib/libedit/vi.c
+++ b/lib/libedit/vi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vi.c,v 1.7 2003/10/31 08:42:24 otto Exp $ */
+/* $OpenBSD: vi.c,v 1.8 2009/10/27 23:59:28 deraadt Exp $ */
/* $NetBSD: vi.c,v 1.19 2003/08/07 16:44:35 agc Exp $ */
/*-
@@ -38,14 +38,6 @@
#include <unistd.h>
#include <sys/wait.h>
-#if !defined(lint) && !defined(SCCSID)
-#if 0
-static char sccsid[] = "@(#)vi.c 8.1 (Berkeley) 6/4/93";
-#else
-static const char rcsid[] = "$OpenBSD: vi.c,v 1.7 2003/10/31 08:42:24 otto Exp $";
-#endif
-#endif /* not lint && not SCCSID */
-
/*
* vi.c: Vi mode commands.
*/