aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorKaroly Lorentey2007-04-22 11:42:03 +0000
committerKaroly Lorentey2007-04-22 11:42:03 +0000
commit81088e260b086fe28f36964f32b6338210ec6fd8 (patch)
tree53d5af73ca0c971fe6925944d4d059caab5337a2 /lib-src
parentfa1b1007cac59bafd16df7bd501ef2591dd77d62 (diff)
parenta6f0e674ebf44b1d37732b64070b804673481d28 (diff)
downloademacs-81088e260b086fe28f36964f32b6338210ec6fd8.tar.gz
emacs-81088e260b086fe28f36964f32b6338210ec6fd8.zip
Merged from emacs@sv.gnu.org
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-650 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-651 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-652 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-653 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-654 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-655 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-656 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-657 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-658 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-659 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-203 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-204 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-205 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-599
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog7
-rw-r--r--lib-src/Makefile.in4
-rw-r--r--lib-src/etags.c73
-rw-r--r--lib-src/makefile.w32-in2
4 files changed, 64 insertions, 22 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 52d9103c600..04657225ab0 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,7 @@
12007-02-26 Francesco Potort,Al(B <pot@gnu.org>
2
3 * Makefile.in (etags, ctags): Define EMACS_NAME as "GNU Emacs".
4
12007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change) 52007-02-20 Ulrich Mueller <ulm@kph.uni-mainz.de> (tiny change)
2 6
3 * Makefile.in (EMACS, EMACSOPT): New variables. 7 * Makefile.in (EMACS, EMACSOPT): New variables.
@@ -107,8 +111,7 @@
107 111
1082006-11-27 Eli Zaretskii <eliz@gnu.org> 1122006-11-27 Eli Zaretskii <eliz@gnu.org>
109 113
110 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on 114 * makefile.w32-in ($(BLD)/emacsclient.$(O)): Depend on makefile.w32-in.
111 makefile.w32-in.
112 115
1132006-11-25 Juanma Barranquero <lekktu@gmail.com> 1162006-11-25 Juanma Barranquero <lekktu@gmail.com>
114 117
diff --git a/lib-src/Makefile.in b/lib-src/Makefile.in
index e8427627dd8..bef8f1b9c29 100644
--- a/lib-src/Makefile.in
+++ b/lib-src/Makefile.in
@@ -413,7 +413,7 @@ regex.o: $(srcdir)/../src/regex.c $(srcdir)/../src/regex.h ../src/config.h
413 ${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c 413 ${CC} -c ${BASE_CFLAGS} -DCONFIG_BROKETS -DINHIBIT_STRING_HEADER ${srcdir}/../src/regex.c
414 414
415etags${EXEEXT}: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h 415etags${EXEEXT}: ${srcdir}/etags.c $(GETOPTDEPS) $(REGEXPDEPS) ../src/config.h
416 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags 416 $(CC) ${ALL_CFLAGS} -DEMACS_NAME="\"GNU Emacs"\" -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o etags
417 417
418ebrowse${EXEEXT}: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h 418ebrowse${EXEEXT}: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h
419 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse 419 $(CC) ${ALL_CFLAGS} -DVERSION="\"${version}\"" ${srcdir}/ebrowse.c $(GETOPTOBJS) $(LOADLIBES) -o ebrowse
@@ -421,7 +421,7 @@ ebrowse${EXEEXT}: ${srcdir}/ebrowse.c $(GETOPTDEPS) ../src/config.h
421/* We depend on etags to assure that parallel makes don\'t write two 421/* We depend on etags to assure that parallel makes don\'t write two
422 etags.o files on top of each other. */ 422 etags.o files on top of each other. */
423ctags${EXEEXT}: etags${EXEEXT} 423ctags${EXEEXT}: etags${EXEEXT}
424 $(CC) ${ALL_CFLAGS} -DCTAGS -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags 424 $(CC) ${ALL_CFLAGS} -DCTAGS -DEMACS_NAME="\"GNU Emacs"\" -DVERSION="\"${version}\"" ${srcdir}/etags.c $(GETOPTOBJS) $(REGEXPOBJ) $(LOADLIBES) -o ctags
425 425
426profile${EXEEXT}: ${srcdir}/profile.c ../src/config.h 426profile${EXEEXT}: ${srcdir}/profile.c ../src/config.h
427 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile 427 $(CC) ${ALL_CFLAGS} ${srcdir}/profile.c $(LOADLIBES) -o profile
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}
diff --git a/lib-src/makefile.w32-in b/lib-src/makefile.w32-in
index 5eac02c9e30..9229f65dd50 100644
--- a/lib-src/makefile.w32-in
+++ b/lib-src/makefile.w32-in
@@ -24,7 +24,7 @@ ALL = make-docfile hexl ctags etags movemail ebrowse sorted-doc digest-doc emacs
24 24
25.PHONY: $(ALL) 25.PHONY: $(ALL)
26 26
27VERSION = 22.0.94 27VERSION = 22.0.95
28 28
29LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \ 29LOCAL_FLAGS = -DWINDOWSNT -DDOS_NT -DSTDC_HEADERS=1 -DNO_LDAV=1 \
30 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \ 30 -DNO_ARCHIVES=1 -DHAVE_CONFIG_H=1 -I../nt/inc \