Mercurial > emacs
comparison lib-src/etags.c @ 76181:ce4c0635bea7
Add University of California copyright and revised BSDL license.
Remove Ken Arnold copyright.
(print_version): Remove Ken Arnold, refer to new file ETAGS.README.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 27 Feb 2007 03:19:57 +0000 |
parents | a3a7c25796a4 |
children | 1f2482de3237 3de8e8f14f0d edf631bdbb7a ec58e5c426ef |
comparison
equal
deleted
inserted
replaced
76180:669c1591727d | 76181:ce4c0635bea7 |
---|---|
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, | 2 |
3 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 Copyright (C) 1984 The Regents of the University of California |
4 2005, 2006, 2007 Free Software Foundation, Inc. and Ken Arnold | 4 |
5 | 5 Redistribution and use in source and binary forms, with or without |
6 This file is not considered part of GNU Emacs. | 6 modification, are permitted provided that the following conditions are |
7 | 7 met: |
8 This program is free software; you can redistribute it and/or modify | 8 1. Redistributions of source code must retain the above copyright |
9 it under the terms of the GNU General Public License as published by | 9 notice, this list of conditions and the following disclaimer. |
10 the Free Software Foundation; either version 2 of the License, or | 10 2. Redistributions in binary form must reproduce the above copyright |
11 (at your option) any later version. | 11 notice, this list of conditions and the following disclaimer in the |
12 | 12 documentation and/or other materials provided with the |
13 This program is distributed in the hope that it will be useful, | 13 distribution. |
14 but WITHOUT ANY WARRANTY; without even the implied warranty of | 14 3. Neither the name of the University nor the names of its |
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 15 contributors may be used to endorse or promote products derived |
16 GNU General Public License for more details. | 16 from this software without specific prior written permission. |
17 | 17 |
18 You should have received a copy of the GNU General Public License | 18 THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' |
19 along with this program; if not, write to the Free Software Foundation, | 19 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, |
20 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ | 20 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR |
21 PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS | |
22 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | |
23 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF | |
24 SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR | |
25 BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, | |
26 WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE | |
27 OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN | |
28 IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | |
29 | |
30 | |
31 Copyright (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 | |
35 This file is not considered part of GNU Emacs. | |
36 | |
37 This program is free software; you can redistribute it and/or modify | |
38 it under the terms of the GNU General Public License as published by | |
39 the Free Software Foundation; either version 2 of the License, or | |
40 (at your option) any later version. | |
41 | |
42 This program is distributed in the hope that it will be useful, | |
43 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
44 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
45 GNU General Public License for more details. | |
46 | |
47 You should have received a copy of the GNU General Public License | |
48 along with this program; if not, write to the Free Software Foundation, | |
49 Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ | |
50 | |
51 | |
52 /* NB To comply with the above BSD license, copyright information is | |
53 reproduced in etc/ETAGS.README. That file should be updated when the | |
54 above notices are. | |
55 | |
56 To the best of our knowledge, this code was originally based on the | |
57 ctags.c distributed with BSD4.2, which was copyrighted by the | |
58 University of California, as described above. */ | |
59 | |
21 | 60 |
22 /* | 61 /* |
23 * Authors: | 62 * Authors: |
24 * Ctags originally by Ken Arnold. | 63 * Ctags originally by Ken Arnold. |
25 * Fortran added by Jim Kleckner. | 64 * Fortran added by Jim Kleckner. |
840 #endif | 879 #endif |
841 static void | 880 static void |
842 print_version () | 881 print_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 } |
850 | 889 |
851 static void | 890 static void |