aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
authorKaroly Lorentey2004-02-17 01:52:25 +0000
committerKaroly Lorentey2004-02-17 01:52:25 +0000
commite581a4668750ed98d77f13500c983439770ec600 (patch)
treeccbc5c82753658d45458e9306feb41203ae3757b /lib-src
parent806c1866e6cdfe84bd8353dda02c4c8c61267480 (diff)
parent0f98bc23509b4e909cc92237e4b082c6866da258 (diff)
downloademacs-e581a4668750ed98d77f13500c983439770ec600.tar.gz
emacs-e581a4668750ed98d77f13500c983439770ec600.zip
Merged in changes from CVS HEAD
Patches applied: * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-71 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-72 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-73 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-74 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-75 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-76 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-77 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-78 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-79 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-80 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-81 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-82 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-83 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-84 Add lisp/emacs-lisp/macroexp.el * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-85 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-86 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-87 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-88 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-89 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-90 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-91 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-92 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-93 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-94 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-95 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-96 Update from CVS * miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-97 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-77
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/ChangeLog26
-rw-r--r--lib-src/emacsclient.c4
-rwxr-xr-xlib-src/rcs2log28
3 files changed, 43 insertions, 15 deletions
diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog
index 6ea0e8be97a..5758a6d0b89 100644
--- a/lib-src/ChangeLog
+++ b/lib-src/ChangeLog
@@ -1,3 +1,18 @@
12004-02-14 Paul Eggert <eggert@twinsun.com>
2
3 * rcs2log: Work correctly if CVSROOT specifies :fork: or
4 :local: methods, or omits the colon between the hostname
5 and the path. Allow :/ in repository path, since CVS does.
6 Fix typo: "pository" should be set from $CVSROOT, not $repository.
7 This fixes a bug reported by Wolfgang Scherer in
8 <http://mail.gnu.org/archive/html/bug-gnu-emacs/2004-02/msg00085.html>,
9 along with some related bugs I discovered by inspecting how
10 CVS itself parses $CVSROOT.
11
122004-02-04 J,bi(Br,bt(Bme Marant <jmarant@nerim.net> (tiny)
13
14 * emacsclient.c (decode_options): Fix handling of alternate editor.
15
12004-01-27 Stefan Monnier <monnier@iro.umontreal.ca> 162004-01-27 Stefan Monnier <monnier@iro.umontreal.ca>
2 17
3 * emacsclient.c (main): Don't use the hostname in the socket name. 18 * emacsclient.c (main): Don't use the hostname in the socket name.
@@ -14,6 +29,12 @@
14 Only try su-fallback if the socket name was not explicit. 29 Only try su-fallback if the socket name was not explicit.
15 Check socket name length in su-fallback case as well. 30 Check socket name length in su-fallback case as well.
16 31
322004-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * emacsclient.c (main): Stop if socket name too long.
35 Only try su-fallback if the socket name was not explicit.
36 Check socket name length in su-fallback case as well.
37
172004-01-08 Andreas Schwab <schwab@suse.de> 382004-01-08 Andreas Schwab <schwab@suse.de>
18 39
19 * emacsclient.c (main): Save errno from socket_status. 40 * emacsclient.c (main): Save errno from socket_status.
@@ -54,7 +75,7 @@
54 75
552003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change) 762003-08-25 Takaaki Ota <Takaaki.Ota@am.sony.com> (tiny change)
56 77
57 * etags.c (consider_token): check C++ `operator' only when the 78 * etags.c (consider_token): Check C++ `operator' only when the
58 token len is long enough. 79 token len is long enough.
59 80
602003-08-20 Dave Love <fx@gnu.org> 812003-08-20 Dave Love <fx@gnu.org>
@@ -5493,7 +5514,8 @@ Tue Jul 1 01:09:07 1997 Geoff Voelker <voelker@cs.washington.edu>
5493;; coding: iso-2022-7bit 5514;; coding: iso-2022-7bit
5494;; End: 5515;; End:
5495 5516
5496 Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003 5517 Copyright (C) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995,
5518 1996, 1997, 1998, 1999, 2001, 2002, 2003, 2004
5497 Free Software Foundation, Inc. 5519 Free Software Foundation, Inc.
5498 Copying and distribution of this file, with or without modification, 5520 Copying and distribution of this file, with or without modification,
5499 are permitted provided the copyright notice and this notice are preserved. 5521 are permitted provided the copyright notice and this notice are preserved.
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 0f42f096643..771eeac05e6 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -106,6 +106,8 @@ decode_options (argc, argv)
106 int argc; 106 int argc;
107 char **argv; 107 char **argv;
108{ 108{
109 alternate_editor = getenv ("ALTERNATE_EDITOR");
110
109 while (1) 111 while (1)
110 { 112 {
111 int opt = getopt_long (argc, argv, 113 int opt = getopt_long (argc, argv,
@@ -114,8 +116,6 @@ decode_options (argc, argv)
114 if (opt == EOF) 116 if (opt == EOF)
115 break; 117 break;
116 118
117 alternate_editor = getenv ("ALTERNATE_EDITOR");
118
119 switch (opt) 119 switch (opt)
120 { 120 {
121 case 0: 121 case 0:
diff --git a/lib-src/rcs2log b/lib-src/rcs2log
index 4400fb72578..658a30c789b 100755
--- a/lib-src/rcs2log
+++ b/lib-src/rcs2log
@@ -29,10 +29,10 @@ Options:
29 29
30Report bugs to <bug-gnu-emacs@gnu.org>.' 30Report bugs to <bug-gnu-emacs@gnu.org>.'
31 31
32Id='$Id: rcs2log,v 1.52 2003/12/27 08:18:08 uid65632 Exp $' 32Id='$Id: rcs2log,v 1.53 2004/02/15 07:41:58 uid65632 Exp $'
33 33
34# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, 2003 34# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2001, 2002, 2003,
35# Free Software Foundation, Inc. 35# 2004 Free Software Foundation, Inc.
36 36
37# This program is free software; you can redistribute it and/or modify 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 38# it under the terms of the GNU General Public License as published by
@@ -49,7 +49,7 @@ Id='$Id: rcs2log,v 1.52 2003/12/27 08:18:08 uid65632 Exp $'
49# Free Software Foundation, Inc., 59 Temple Place - Suite 330, 49# Free Software Foundation, Inc., 59 Temple Place - Suite 330,
50# Boston, MA 02111-1307, USA. 50# Boston, MA 02111-1307, USA.
51 51
52Copyright='Copyright (C) 2003 Free Software Foundation, Inc. 52Copyright='Copyright (C) 2004 Free Software Foundation, Inc.
53This program comes with NO WARRANTY, to the extent permitted by law. 53This program comes with NO WARRANTY, to the extent permitted by law.
54You may redistribute copies of this program 54You may redistribute copies of this program
55under the terms of the GNU General Public License. 55under the terms of the GNU General Public License.
@@ -251,18 +251,24 @@ case $rlogfile in
251 rlog='cvs -q log' 251 rlog='cvs -q log'
252 repository=`sed 1q <CVS/Repository` || exit 252 repository=`sed 1q <CVS/Repository` || exit
253 test ! -f CVS/Root || CVSROOT=`cat <CVS/Root` || exit 253 test ! -f CVS/Root || CVSROOT=`cat <CVS/Root` || exit
254 pository=
254 case $CVSROOT in 255 case $CVSROOT in
255 *:/*:/*) 256 /* | :fork:* | :local:*) ;;
256 echo >&2 "$0: $CVSROOT: CVSROOT has multiple ':/'s" 257 */*)
257 exit 1;;
258 *:/*)
259 # remote repository 258 # remote repository
260 pository=`expr "X$repository" : '.*:\(/.*\)'`;; 259 pository=`expr "X$CVSROOT" : '[^/]*\(.*\)'`;;
261 *) 260 esac
261 case $pository in
262 '')
262 # local repository 263 # local repository
263 case $repository in 264 case $repository in
264 /*) ;; 265 /*) ;;
265 *) repository=${CVSROOT?}/$repository;; 266 *)
267 repository=${CVSROOT?}/$repository
268 case $repository in
269 :fork:* | :local:*)
270 repository=`expr "$repository" : ':[^:]*:\(.*\)'`;;
271 esac;;
266 esac 272 esac
267 if test ! -d "$repository" 273 if test ! -d "$repository"
268 then 274 then