Fix permissions handling (CVE-2010-0825).
[emacs.git] / lisp / net / trampver.el
blobc5387a267226341b3d9da831390f6e8c6a5dbd03
1 ;;; trampver.el --- Transparent Remote Access, Multiple Protocol
2 ;;; lisp/trampver.el. Generated from trampver.el.in by configure.
4 ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008,
5 ;; 2009, 2010 Free Software Foundation, Inc.
7 ;; Author: Kai Großjohann <kai.grossjohann@gmx.net>
8 ;; Keywords: comm, processes
10 ;; This file is part of GNU Emacs.
12 ;; GNU Emacs is free software: you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation, either version 3 of the License, or
15 ;; (at your option) any later version.
17 ;; GNU Emacs is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;; GNU General Public License for more details.
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
25 ;;; Code:
27 ;; In the Tramp CVS repository, the version numer and the bug report address
28 ;; are auto-frobbed from configure.ac, so you should edit that file and run
29 ;; "autoconf && ./configure" to change them. (X)Emacs version check is defined
30 ;; in macro AC_EMACS_INFO of aclocal.m4; should be changed only there.
32 (defconst tramp-version "2.1.18-23.2"
33 "This version of Tramp.")
35 (defconst tramp-bug-report-address "tramp-devel@gnu.org"
36 "Email address to send bug reports to.")
38 ;; Check for (X)Emacs version.
39 (let ((x (if (or (< emacs-major-version 21) (and (featurep 'xemacs) (= emacs-major-version 21) (< emacs-minor-version 4))) (format "Tramp 2.1.18-pre is not fit for %s" (when (string-match "^.*$" (emacs-version)) (match-string 0 (emacs-version)))) "ok")))
40 (unless (string-match "\\`ok\\'" x) (error "%s" x)))
42 (provide 'trampver)
44 ;; arch-tag: 443576ca-f8f1-4bb1-addc-5c70861e93b1
45 ;;; trampver.el ends here
47 ;; Local Variables:
48 ;; mode: Emacs-Lisp
49 ;; coding: utf-8
50 ;; End: