aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorGlenn Morris2007-02-27 03:19:57 +0000
committerGlenn Morris2007-02-27 03:19:57 +0000
commitb7e1b21bd5a34c0fbcfbe4153de189c57c76f20d (patch)
treef9e1fda38cf75fb75a8e21c2538dd80889a0dff7 /lib-src
parent016c80c3f77e94ab6ccad4f2203fd76e470e556c (diff)
downloademacs-b7e1b21bd5a34c0fbcfbe4153de189c57c76f20d.tar.gz
emacs-b7e1b21bd5a34c0fbcfbe4153de189c57c76f20d.zip
Add University of California copyright and revised BSDL license.
Remove Ken Arnold copyright. (print_version): Remove Ken Arnold, refer to new file ETAGS.README.
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c73
1 files changed, 56 insertions, 17 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 69b92084fd6..1d1f16ddf28 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -1,23 +1,62 @@
1/* Tags file maker to go with GNU Emacs -*- coding: latin-1 -*- 1/* Tags file maker to go with GNU Emacs -*- coding: latin-1 -*-
2 Copyright (C) 1984, 1987, 1988, 1989, 1993, 1994, 1995,
3 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4 2005, 2006, 2007 Free Software Foundation, Inc. and Ken Arnold
5 2
6 This file is not considered part of GNU Emacs. 3Copyright (C) 1984 The Regents of the University of California
7 4
8 This program is free software; you can redistribute it and/or modify 5Redistribution and use in source and binary forms, with or without
9 it under the terms of the GNU General Public License as published by 6modification, are permitted provided that the following conditions are
10 the Free Software Foundation; either version 2 of the License, or 7met:
11 (at your option) any later version. 81. Redistributions of source code must retain the above copyright
9 notice, this list of conditions and the following disclaimer.
102. Redistributions in binary form must reproduce the above copyright
11 notice, this list of conditions and the following disclaimer in the
12 documentation and/or other materials provided with the
13 distribution.
143. Neither the name of the University nor the names of its
15 contributors may be used to endorse or promote products derived
16 from this software without specific prior written permission.
12 17
13 This program is distributed in the hope that it will be useful, 18THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS''
14 but WITHOUT ANY WARRANTY; without even the implied warranty of 19AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
16 GNU General Public License for more details. 21PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS
22BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
25BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
27OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
28IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
30
31Copyright (C) 1984, 1987, 1988, 1989, 1993, 1994, 1995, 1998, 1999,
32 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
33 Free Software Foundation, Inc.
34
35This file is not considered part of GNU Emacs.
36
37This program is free software; you can redistribute it and/or modify
38it under the terms of the GNU General Public License as published by
39the Free Software Foundation; either version 2 of the License, or
40(at your option) any later version.
41
42This program is distributed in the hope that it will be useful,
43but WITHOUT ANY WARRANTY; without even the implied warranty of
44MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
45GNU General Public License for more details.
46
47You should have received a copy of the GNU General Public License
48along with this program; if not, write to the Free Software Foundation,
49Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
50
51
52/* NB To comply with the above BSD license, copyright information is
53reproduced in etc/ETAGS.README. That file should be updated when the
54above notices are.
55
56To the best of our knowledge, this code was originally based on the
57ctags.c distributed with BSD4.2, which was copyrighted by the
58University of California, as described above. */
17 59
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software Foundation,
20 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */
21 60
22/* 61/*
23 * Authors: 62 * Authors:
@@ -842,8 +881,8 @@ static void
842print_version () 881print_version ()
843{ 882{
844 printf ("%s (%s %s)\n", (CTAGS) ? "ctags" : "etags", EMACS_NAME, VERSION); 883 printf ("%s (%s %s)\n", (CTAGS) ? "ctags" : "etags", EMACS_NAME, VERSION);
845 puts ("Copyright (C) 2007 Free Software Foundation, Inc. and Ken Arnold"); 884 puts ("Copyright (C) 2007 Free Software Foundation, Inc.");
846 puts ("This program is distributed under the same terms as Emacs"); 885 puts ("This program is distributed under the terms in ETAGS.README");
847 886
848 exit (EXIT_SUCCESS); 887 exit (EXIT_SUCCESS);
849} 888}