Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/top copyright cleanup from openbsd (thanks!)
details: https://anonhg.NetBSD.org/src/rev/dfc201d9e4c1
branches: trunk
changeset: 534089:dfc201d9e4c1
user: itojun <itojun%NetBSD.org@localhost>
date: Tue Jul 16 00:40:51 2002 +0000
description:
copyright cleanup from openbsd (thanks!)
>license change from William LeFebvre <wnl%groupsys.com@localhost>; top is now BSD
>licensed. this same license will show up on his next release as well.
diffstat:
usr.bin/top/boolean.h | 30 ++++++++++++++++++++++++-
usr.bin/top/commands.c | 27 ++++++++++++++++++----
usr.bin/top/commands.h | 30 ++++++++++++++++++++++++-
usr.bin/top/display.c | 27 ++++++++++++++++++----
usr.bin/top/display.h | 30 ++++++++++++++++++++++++-
usr.bin/top/layout.h | 30 ++++++++++++++++++++++++-
usr.bin/top/loadavg.h | 30 ++++++++++++++++++++++++-
usr.bin/top/machine.h | 30 ++++++++++++++++++++++++-
usr.bin/top/os.h | 30 ++++++++++++++++++++++++-
usr.bin/top/screen.c | 27 ++++++++++++++++++----
usr.bin/top/screen.h | 30 ++++++++++++++++++++++++-
usr.bin/top/sigconv.awk | 27 ++++++++++++++++++++++
usr.bin/top/top.c | 32 +++++++++++++++++++-------
usr.bin/top/top.h | 30 ++++++++++++++++++++++++-
usr.bin/top/top.local.h | 58 ++++++++++++++++++++++++++++++++++++++++++++++++-
usr.bin/top/username.c | 27 ++++++++++++++++++----
usr.bin/top/username.h | 30 ++++++++++++++++++++++++-
usr.bin/top/utils.c | 27 ++++++++++++++++++----
usr.bin/top/utils.h | 27 ++++++++++++++++++----
usr.bin/top/version.c | 27 ++++++++++++++++++----
20 files changed, 551 insertions(+), 55 deletions(-)
diffs (truncated from 802 to 300 lines):
diff -r f2627822d8eb -r dfc201d9e4c1 usr.bin/top/boolean.h
--- a/usr.bin/top/boolean.h Tue Jul 16 00:36:45 2002 +0000
+++ b/usr.bin/top/boolean.h Tue Jul 16 00:40:51 2002 +0000
@@ -1,4 +1,32 @@
-/* $NetBSD: boolean.h,v 1.2 1999/04/12 06:02:25 ross Exp $ */
+/* $NetBSD: boolean.h,v 1.3 2002/07/16 00:40:51 itojun Exp $ */
+
+/*
+ * Top users/processes display for Unix
+ * Version 3
+ *
+ * Copyright (c) 1984, 1989, William LeFebvre, Rice University
+ * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 HIS EMPLOYER 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.
+ */
/* My favorite names for boolean values */
#define No 0
diff -r f2627822d8eb -r dfc201d9e4c1 usr.bin/top/commands.c
--- a/usr.bin/top/commands.c Tue Jul 16 00:36:45 2002 +0000
+++ b/usr.bin/top/commands.c Tue Jul 16 00:40:51 2002 +0000
@@ -1,14 +1,31 @@
-/* $NetBSD: commands.c,v 1.6 2001/06/20 19:56:35 christos Exp $ */
+/* $NetBSD: commands.c,v 1.7 2002/07/16 00:40:51 itojun Exp $ */
/*
* Top users/processes display for Unix
* Version 3
*
- * This program may be freely redistributed,
- * but this entire comment MUST remain intact.
+ * Copyright (c) 1984, 1989, William LeFebvre, Rice University
+ * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
*
- * Copyright (c) 1984, 1989, William LeFebvre, Rice University
- * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 HIS EMPLOYER 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.
*/
/*
diff -r f2627822d8eb -r dfc201d9e4c1 usr.bin/top/commands.h
--- a/usr.bin/top/commands.h Tue Jul 16 00:36:45 2002 +0000
+++ b/usr.bin/top/commands.h Tue Jul 16 00:40:51 2002 +0000
@@ -1,4 +1,32 @@
-/* $NetBSD: commands.h,v 1.2 1999/04/12 06:02:25 ross Exp $ */
+/* $NetBSD: commands.h,v 1.3 2002/07/16 00:40:51 itojun Exp $ */
+
+/*
+ * Top users/processes display for Unix
+ * Version 3
+ *
+ * Copyright (c) 1984, 1989, William LeFebvre, Rice University
+ * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 HIS EMPLOYER 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.
+ */
void show_help __P((struct statics *));
char *next_field __P((char *));
diff -r f2627822d8eb -r dfc201d9e4c1 usr.bin/top/display.c
--- a/usr.bin/top/display.c Tue Jul 16 00:36:45 2002 +0000
+++ b/usr.bin/top/display.c Tue Jul 16 00:40:51 2002 +0000
@@ -1,14 +1,31 @@
-/* $NetBSD: display.c,v 1.7 2002/06/13 23:28:57 wiz Exp $ */
+/* $NetBSD: display.c,v 1.8 2002/07/16 00:40:51 itojun Exp $ */
/*
* Top users/processes display for Unix
* Version 3
*
- * This program may be freely redistributed,
- * but this entire comment MUST remain intact.
+ * Copyright (c) 1984, 1989, William LeFebvre, Rice University
+ * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
*
- * Copyright (c) 1984, 1989, William LeFebvre, Rice University
- * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 HIS EMPLOYER 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.
*/
/*
diff -r f2627822d8eb -r dfc201d9e4c1 usr.bin/top/display.h
--- a/usr.bin/top/display.h Tue Jul 16 00:36:45 2002 +0000
+++ b/usr.bin/top/display.h Tue Jul 16 00:40:51 2002 +0000
@@ -1,4 +1,32 @@
-/* $NetBSD: display.h,v 1.5 2002/03/23 01:28:10 thorpej Exp $ */
+/* $NetBSD: display.h,v 1.6 2002/07/16 00:40:51 itojun Exp $ */
+
+/*
+ * Top users/processes display for Unix
+ * Version 3
+ *
+ * Copyright (c) 1984, 1989, William LeFebvre, Rice University
+ * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 HIS EMPLOYER 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.
+ */
/* constants needed for display.c */
diff -r f2627822d8eb -r dfc201d9e4c1 usr.bin/top/layout.h
--- a/usr.bin/top/layout.h Tue Jul 16 00:36:45 2002 +0000
+++ b/usr.bin/top/layout.h Tue Jul 16 00:40:51 2002 +0000
@@ -1,4 +1,32 @@
-/* $NetBSD: layout.h,v 1.3 2002/03/23 01:28:10 thorpej Exp $ */
+/* $NetBSD: layout.h,v 1.4 2002/07/16 00:40:51 itojun Exp $ */
+
+/*
+ * Top users/processes display for Unix
+ * Version 3
+ *
+ * Copyright (c) 1984, 1989, William LeFebvre, Rice University
+ * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 HIS EMPLOYER 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.
+ */
/*
* Top - a top users display for Berkeley Unix
diff -r f2627822d8eb -r dfc201d9e4c1 usr.bin/top/loadavg.h
--- a/usr.bin/top/loadavg.h Tue Jul 16 00:36:45 2002 +0000
+++ b/usr.bin/top/loadavg.h Tue Jul 16 00:40:51 2002 +0000
@@ -1,4 +1,32 @@
-/* $NetBSD: loadavg.h,v 1.2 1999/04/12 06:02:26 ross Exp $ */
+/* $NetBSD: loadavg.h,v 1.3 2002/07/16 00:40:51 itojun Exp $ */
+
+/*
+ * Top users/processes display for Unix
+ * Version 3
+ *
+ * Copyright (c) 1984, 1989, William LeFebvre, Rice University
+ * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 HIS EMPLOYER 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.
+ */
/*
* Top - a top users display for Berkeley Unix
diff -r f2627822d8eb -r dfc201d9e4c1 usr.bin/top/machine.h
--- a/usr.bin/top/machine.h Tue Jul 16 00:36:45 2002 +0000
+++ b/usr.bin/top/machine.h Tue Jul 16 00:40:51 2002 +0000
@@ -1,4 +1,32 @@
-/* $NetBSD: machine.h,v 1.6 2002/03/23 01:28:10 thorpej Exp $ */
+/* $NetBSD: machine.h,v 1.7 2002/07/16 00:40:51 itojun Exp $ */
+
+/*
+ * Top users/processes display for Unix
+ * Version 3
+ *
+ * Copyright (c) 1984, 1989, William LeFebvre, Rice University
+ * Copyright (c) 1989, 1990, 1992, William LeFebvre, Northwestern University
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 HIS EMPLOYER 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.
+ */
Home |
Main Index |
Thread Index |
Old Index