changeset: 5349:63f247c5da0a
user: Stephen J. Turnbull <stephen(a)xemacs.org>
date: Mon Oct 18 23:43:03 2010 +0900
files: src/ChangeLog src/emodules.c
description:
In emodules_load(), dereference f = dll_variable() once more.
We then use EXTERNAL_TO_ITEXT on it, which returns an alloca'd
string, so I delete the unneeded alloca copy statements.
Fixes error reported by Anders Odberg, confirmed in
<rfawrpfhm3l.fsf(a)fangorn.uio.no>.
diff -r e4305eb6fb8c -r 63f247c5da0a src/ChangeLog
--- a/src/ChangeLog Mon Oct 18 23:21:23 2010 +0900
+++ b/src/ChangeLog Mon Oct 18 23:43:03 2010 +0900
@@ -1,3 +1,12 @@
+2010-07-06 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * emodules.c (emodules_load):
+ Add one more dereference on f = dll_variable() in three places.
+ We then use EXTERNAL_TO_ITEXT on it, which returns an alloca'd
+ string, so I delete the unneeded alloca copy statements.
+ Fixes error reported by Anders Odberg, confirmed in
+ <rfawrpfhm3l.fsf(a)fangorn.uio.no>.
+
2010-06-14 Stephen J. Turnbull <stephen(a)xemacs.org>
* ui-byhand.c:
diff -r e4305eb6fb8c -r 63f247c5da0a src/emodules.c
--- a/src/emodules.c Mon Oct 18 23:21:23 2010 +0900
+++ b/src/emodules.c Mon Oct 18 23:43:03 2010 +0900
@@ -390,11 +390,7 @@
(const Ibyte *) "emodule_name");
if (f == NULL || *f == NULL)
signal_error (Qdll_error, "Invalid dynamic module: Missing symbol `emodule_name'", Qunbound);
-
- mname = EXTERNAL_TO_ITEXT (f, Qemodule_string_encoding);
- /* #### Not obvious we have to force an alloca copy here, but the old
- code did so */
- IBYTE_STRING_TO_ALLOCA (mname, mname);
+ mname = EXTERNAL_TO_ITEXT (*f, Qemodule_string_encoding);
if (mname[0] == '\0')
signal_error (Qdll_error, "Invalid dynamic module: Empty value for `emodule_name'", Qunbound);
@@ -403,21 +399,13 @@
(const Ibyte *) "emodule_version");
if (f == NULL || *f == NULL)
signal_error (Qdll_error, "Missing symbol `emodule_version': Invalid dynamic module", Qunbound);
-
- mver = EXTERNAL_TO_ITEXT (f, Qemodule_string_encoding);
- /* #### Not obvious we have to force an alloca copy here, but the old
- code did so */
- IBYTE_STRING_TO_ALLOCA (mver, mver);
+ mver = EXTERNAL_TO_ITEXT (*f, Qemodule_string_encoding);
f = (const Extbyte **) dll_variable (dlhandle,
(const Ibyte *) "emodule_title");
if (f == NULL || *f == NULL)
signal_error (Qdll_error, "Invalid dynamic module: Missing symbol `emodule_title'", Qunbound);
-
- mtitle = EXTERNAL_TO_ITEXT (f, Qemodule_string_encoding);
- /* #### Not obvious we have to force an alloca copy here, but the old
- code did so */
- IBYTE_STRING_TO_ALLOCA (mtitle, mtitle);
+ mtitle = EXTERNAL_TO_ITEXT (*f, Qemodule_string_encoding);
symname = alloca_ibytes (qxestrlen (mname) + 15);
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
changeset: 5347:85bd42a1e544
user: Stephen J. Turnbull <stephen(a)xemacs.org>
date: Mon Oct 18 23:03:27 2010 +0900
files: lisp/ChangeLog lisp/term/bg-mouse.el lisp/term/sup-mouse.el lisp/term/vt100.el
description:
More permission consistency.
diff -r e6508b64ee08 -r 85bd42a1e544 lisp/ChangeLog
--- a/lisp/ChangeLog Mon Jun 14 19:03:57 2010 +0900
+++ b/lisp/ChangeLog Mon Oct 18 23:03:27 2010 +0900
@@ -1,4 +1,12 @@
2010-06-14 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * term/vt100.el:
+ Refer to XEmacs, not GNU Emacs, in permissions.
+
+ * term/bg-mouse.el:
+ * term/sup-mouse.el:
+ Put copyright notice in canonical "Copyright DATE AUTHOR" form.
+ Refer to XEmacs, not GNU Emacs, in permissions.
* site-load.el:
Add permission boilerplate.
diff -r e6508b64ee08 -r 85bd42a1e544 lisp/term/bg-mouse.el
--- a/lisp/term/bg-mouse.el Mon Jun 14 19:03:57 2010 +0900
+++ b/lisp/term/bg-mouse.el Mon Oct 18 23:03:27 2010 +0900
@@ -1,26 +1,26 @@
;;; bg-mouse.el --- GNU Emacs code for BBN Bitgraph mouse.
-;; Copyright (C) Free Software Foundation, Inc. Oct 1985.
+;; Copyright (C) 1985 Free Software Foundation, Inc.
;; Author: John Robinson <jr(a)bbn-unix.arpa>
;; Stephen Gildea <gildea(a)bbn.com>
;; Maintainer: FSF
;; Keywords: hardware
-;; This file is part of GNU Emacs.
+;; This file is part of XEmacs.
-;; GNU Emacs is free software; you can redistribute it and/or modify
+;; XEmacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
-;; GNU Emacs is distributed in the hope that it will be useful,
+;; XEmacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING. If not, write to
+;; along with XEmacs; see the file COPYING. If not, write to
;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
;;; Code:
diff -r e6508b64ee08 -r 85bd42a1e544 lisp/term/sup-mouse.el
--- a/lisp/term/sup-mouse.el Mon Jun 14 19:03:57 2010 +0900
+++ b/lisp/term/sup-mouse.el Mon Oct 18 23:03:27 2010 +0900
@@ -1,6 +1,6 @@
;;; sup-mouse.el --- supdup mouse support for lisp machines
-;; Copyright (C) Free Software Foundation 1985, 1986
+;; Copyright (C) 1985, 1986 Free Software Foundation
;; Author: Wolfgang Rupprecht
;; Maintainer: FSF
@@ -9,20 +9,20 @@
;; (from code originally written by John Robinson@bbn for the bitgraph)
-;; This file is part of GNU Emacs.
+;; This file is part of XEmacs.
-;; GNU Emacs is free software; you can redistribute it and/or modify
+;; XEmacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
-;; GNU Emacs is distributed in the hope that it will be useful,
+;; XEmacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with GNU Emacs; see the file COPYING. If not, write to
+;; along with XEmacs; see the file COPYING. If not, write to
;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
;;; Code:
diff -r e6508b64ee08 -r 85bd42a1e544 lisp/term/vt100.el
--- a/lisp/term/vt100.el Mon Jun 14 19:03:57 2010 +0900
+++ b/lisp/term/vt100.el Mon Oct 18 23:03:27 2010 +0900
@@ -5,20 +5,20 @@
;; Author: FSF
;; Keywords: terminals
-;;; This file is part of GNU Emacs.
+;;; This file is part of XEmacs.
;;;
-;;; GNU Emacs is free software; you can redistribute it and/or modify
+;;; XEmacs is free software; you can redistribute it and/or modify
;;; it under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 2, or (at your option)
;;; any later version.
;;;
-;;; GNU Emacs is distributed in the hope that it will be useful,
+;;; XEmacs is distributed in the hope that it will be useful,
;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
-;;; along with GNU Emacs; see the file COPYING. If not, write to
+;;; along with XEmacs; see the file COPYING. If not, write to
;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
;;; Synched up with: FSF 21.0.103.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
changeset: 5346:e6508b64ee08
user: Stephen J. Turnbull <stephen(a)xemacs.org>
date: Mon Jun 14 19:03:57 2010 +0900
files: ChangeLog aclocal.m4 lib-src/ChangeLog lib-src/config.values.sh lib-src/gnuserv.c lib-src/gnuserv.h lib-src/gnuslib.c lisp/ChangeLog lisp/site-load.el tests/ChangeLog tests/automated/lisp-reader-tests.el
description:
More permission consistency.
diff -r 9e51b172d50f -r e6508b64ee08 ChangeLog
--- a/ChangeLog Mon Jun 14 15:47:30 2010 +0900
+++ b/ChangeLog Mon Jun 14 19:03:57 2010 +0900
@@ -1,3 +1,7 @@
+2010-06-14 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * aclocal.m4: Add standard permission boilerplate.
+
2010-06-02 Aidan Kehoe <kehoea(a)parhasard.net>
* version.sh.in:
diff -r 9e51b172d50f -r e6508b64ee08 aclocal.m4
--- a/aclocal.m4 Mon Jun 14 15:47:30 2010 +0900
+++ b/aclocal.m4 Mon Jun 14 19:03:57 2010 +0900
@@ -2,7 +2,21 @@
dnl Copyright (C) 1998, 1999 J. Kean Johnston.
dnl Author: J. Kean Johnston <jkj(a)sco.com>, based on work in libtool.
dnl This file is part of XEmacs.
-
+dnl
+dnl XEmacs is free software; you can redistribute it and/or modify it
+dnl under the terms of the GNU General Public License as published by
+dnl the Free Software Foundation; either version 2, or (at your option)
+dnl any later version.
+dnl
+dnl XEmacs is distributed in the hope that it will be useful, but
+dnl WITHOUT ANY WARRANTY; without even the implied warranty of
+dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+dnl General Public License for more details.
+dnl
+dnl You should have received a copy of the GNU General Public License
+dnl along with XEmacs; see the file COPYING. If not, write to the Free
+dnl Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+dnl Boston, MA 02110-1301, USA.
dnl
dnl There are several things we care about here. First, we need to find
dnl out how we create an executable that has its symbols exported, so
diff -r 9e51b172d50f -r e6508b64ee08 lib-src/ChangeLog
--- a/lib-src/ChangeLog Mon Jun 14 15:47:30 2010 +0900
+++ b/lib-src/ChangeLog Mon Jun 14 19:03:57 2010 +0900
@@ -1,4 +1,9 @@
2010-06-14 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * gnuserv.c:
+ * gnuserv.h:
+ * gnuslib.c:
+ Add standard permission boilerplate.
* ad2c:
Add copyright notices based on internal evidence.
diff -r 9e51b172d50f -r e6508b64ee08 lib-src/config.values.sh
--- a/lib-src/config.values.sh Mon Jun 14 15:47:30 2010 +0900
+++ b/lib-src/config.values.sh Mon Jun 14 19:03:57 2010 +0900
@@ -3,6 +3,8 @@
if 0;
# config.values.sh --- create config.values.in from ../configure
+
+# Copyright (C) 1997, 1999 Martin Buchholz
# Author: Martin Buchholz
# Maintainer: Martin Buchholz
diff -r 9e51b172d50f -r e6508b64ee08 lib-src/gnuserv.c
--- a/lib-src/gnuserv.c Mon Jun 14 15:47:30 2010 +0900
+++ b/lib-src/gnuserv.c Mon Jun 14 19:03:57 2010 +0900
@@ -2,12 +2,24 @@
Server code for handling requests from clients and forwarding them
on to the XEmacs process.
+ Copyright (C) 1989 Free Software Foundation, Inc.
+
This file is part of XEmacs.
- Copying is permitted under those conditions described by the GNU
- General Public License.
+ XEmacs is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
- Copyright (C) 1989 Free Software Foundation, Inc.
+ XEmacs is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with XEmacs; see the file COPYING. If not, write to the Free
+ Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
Author: Andy Norman (ange(a)hplb.hpl.hp.com), based on 'etc/server.c'
from the 18.52 GNU Emacs distribution.
diff -r 9e51b172d50f -r e6508b64ee08 lib-src/gnuserv.h
--- a/lib-src/gnuserv.h Mon Jun 14 15:47:30 2010 +0900
+++ b/lib-src/gnuserv.h Mon Jun 14 19:03:57 2010 +0900
@@ -2,12 +2,24 @@
Header file for the XEmacs server and client C code.
+ Copyright (C) 1989 Free Software Foundation, Inc.
+
This file is part of XEmacs.
- Copying is permitted under those conditions described by the GNU
- General Public License.
+ XEmacs is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
- Copyright (C) 1989 Free Software Foundation, Inc.
+ XEmacs is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with XEmacs; see the file COPYING. If not, write to the Free
+ Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
Author: Andy Norman (ange(a)hplb.hpl.hp.com), based on
'etc/server.c' and 'etc/emacsclient.c' from the 18.52 GNU
diff -r 9e51b172d50f -r e6508b64ee08 lib-src/gnuslib.c
--- a/lib-src/gnuslib.c Mon Jun 14 15:47:30 2010 +0900
+++ b/lib-src/gnuslib.c Mon Jun 14 19:03:57 2010 +0900
@@ -1,12 +1,24 @@
/* -*-C-*-
Common library code for the XEmacs server and client.
+ Copyright (C) 1989 Free Software Foundation, Inc.
+
This file is part of XEmacs.
- Copying is permitted under those conditions described by the GNU
- General Public License.
+ XEmacs is free software; you can redistribute it and/or modify it
+ under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2, or (at your option)
+ any later version.
- Copyright (C) 1989 Free Software Foundation, Inc.
+ XEmacs is distributed in the hope that it will be useful, but
+ WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with XEmacs; see the file COPYING. If not, write to the Free
+ Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+ Boston, MA 02110-1301, USA.
Author: Andy Norman (ange(a)hplb.hpl.hp.com), based on
'etc/server.c' and 'etc/emacsclient.c' from the 18.52 GNU
diff -r 9e51b172d50f -r e6508b64ee08 lisp/ChangeLog
--- a/lisp/ChangeLog Mon Jun 14 15:47:30 2010 +0900
+++ b/lisp/ChangeLog Mon Jun 14 19:03:57 2010 +0900
@@ -1,4 +1,7 @@
2010-06-14 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * site-load.el:
+ Add permission boilerplate.
* mule/canna-leim.el:
* alist.el:
diff -r 9e51b172d50f -r e6508b64ee08 lisp/site-load.el
--- a/lisp/site-load.el Mon Jun 14 15:47:30 2010 +0900
+++ b/lisp/site-load.el Mon Jun 14 19:03:57 2010 +0900
@@ -5,6 +5,21 @@
;; Keywords: internal
;; This file is part of XEmacs.
+
+;; XEmacs is free software; you can redistribute it and/or modify it
+;; under the terms of the GNU General Public License as published by
+;; the Free Software Foundation; either version 2, or (at your option)
+;; any later version.
+
+;; XEmacs is distributed in the hope that it will be useful, but
+;; WITHOUT ANY WARRANTY; without even the implied warranty of
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;; General Public License for more details.
+
+;; You should have received a copy of the GNU General Public License
+;; along with XEmacs; see the file COPYING. If not, write to the Free
+;; Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
;;; Commentary:
diff -r 9e51b172d50f -r e6508b64ee08 tests/ChangeLog
--- a/tests/ChangeLog Mon Jun 14 15:47:30 2010 +0900
+++ b/tests/ChangeLog Mon Jun 14 19:03:57 2010 +0900
@@ -1,3 +1,8 @@
+2010-06-14 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * automated/lisp-reader-tests.el:
+ Change references to SXEmacs to XEmacs.
+
2010-06-14 Stephen J. Turnbull <stephen(a)xemacs.org>
* gtk/xemacs-toolbar.el:
diff -r 9e51b172d50f -r e6508b64ee08 tests/automated/lisp-reader-tests.el
--- a/tests/automated/lisp-reader-tests.el Mon Jun 14 15:47:30 2010 +0900
+++ b/tests/automated/lisp-reader-tests.el Mon Jun 14 19:03:57 2010 +0900
@@ -5,20 +5,20 @@
;; Created: 2005
;; Keywords: tests
-;; This file is NOT part of SXEmacs.
+;; This file is part of XEmacs.
-;; SXEmacs is free software; you can redistribute it and/or modify it
+;; XEmacs is free software; you can redistribute it and/or modify it
;; under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 2, or (at your option)
;; any later version.
-;; SXEmacs is distributed in the hope that it will be useful, but
+;; XEmacs is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; General Public License for more details.
;; You should have received a copy of the GNU General Public License
-;; along with SXEmacs; see the file COPYING. If not, write to the Free
+;; along with XEmacs; see the file COPYING. If not, write to the Free
;; Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
;; 02111-1307, USA.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches
changeset: 5345:9e51b172d50f
user: Stephen J. Turnbull <stephen(a)xemacs.org>
date: Mon Jun 14 15:47:30 2010 +0900
files: lisp/ChangeLog lisp/alist.el lisp/mule/canna-leim.el
description:
More permission consistency.
diff -r 061f4feaeefd -r 9e51b172d50f lisp/ChangeLog
--- a/lisp/ChangeLog Mon Jun 14 15:14:20 2010 +0900
+++ b/lisp/ChangeLog Mon Jun 14 15:47:30 2010 +0900
@@ -1,3 +1,12 @@
+2010-06-14 Stephen J. Turnbull <stephen(a)xemacs.org>
+
+ * mule/canna-leim.el:
+ * alist.el:
+ Refer to XEmacs, not APEL/this program, in permissions.
+
+ * mule/canna-leim.el:
+ Remove my copyright, I've assigned it to the FSF.
+
2010-06-14 Stephen J. Turnbull <stephen(a)xemacs.org>
* gtk.el:
diff -r 061f4feaeefd -r 9e51b172d50f lisp/alist.el
--- a/lisp/alist.el Mon Jun 14 15:14:20 2010 +0900
+++ b/lisp/alist.el Mon Jun 14 15:47:30 2010 +0900
@@ -5,14 +5,14 @@
;; Author: MORIOKA Tomohiko <morioka(a)jaist.ac.jp>
;; Keywords: alist
-;; This file is part of APEL (A Portable Emacs Library).
+;; This file is part of XEmacs.
-;; This program is free software; you can redistribute it and/or
+;; XEmacs is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as
;; published by the Free Software Foundation; either version 2, or (at
;; your option) any later version.
-;; This program is distributed in the hope that it will be useful, but
+;; XEmacs is distributed in the hope that it will be useful, but
;; WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
;; General Public License for more details.
diff -r 061f4feaeefd -r 9e51b172d50f lisp/mule/canna-leim.el
--- a/lisp/mule/canna-leim.el Mon Jun 14 15:14:20 2010 +0900
+++ b/lisp/mule/canna-leim.el Mon Jun 14 15:47:30 2010 +0900
@@ -1,5 +1,5 @@
;;; canna-leim.el --- Canna-related code for LEIM -*- coding: iso-2022-7bit; -*-
-;; Copyright (C) 1997 Stephen Turnbull <turnbull(a)sk.tsukuba.ac.jp>
+;;
;; Copyright (C) 1997 Free Software Foundation, Inc.
;;
;; Shamelessly ripped off from
@@ -13,12 +13,14 @@
;; Keywords: japanese, input method, LEIM
;; Last Modified: 1997/10/27 10:08:49
-;; This program is free software; you can redistribute it and/or modify
+;; This file is part of XEmacs.
+
+;; XEmacs is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either versions 2, or (at your option)
;; any later version.
-;; This program is distributed in the hope that it will be useful
+;; XEmacs is distributed in the hope that it will be useful
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches