Fix locating pdump by symlink
* admin/merge-gnulib (GNULIB_MODULES): Add canonicalize-lgpl module
* build-aux/config.guess, build-aux/gitlog-to-changelog,
build-aux/update-copyright, lib/canonicalize-lgpl.c,
lib/gnulib.mk.in, lib/malloca.c, lib/malloca.h, lib/pathmax.h,
m4/canonicalize.m4, m4/double-slash-root.m4, m4/gnulib-comp.m4,
m4/malloca.m4, my/pathmax.4: copy from GNUlib or regenerate from
update
* src/emacs.c: find dump by canonical path
2019-06-24 01:19:08 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#! -*-perl-*-
|
2013-12-24 18:27:53 +00:00
|
|
|
|
Fix locating pdump by symlink
* admin/merge-gnulib (GNULIB_MODULES): Add canonicalize-lgpl module
* build-aux/config.guess, build-aux/gitlog-to-changelog,
build-aux/update-copyright, lib/canonicalize-lgpl.c,
lib/gnulib.mk.in, lib/malloca.c, lib/malloca.h, lib/pathmax.h,
m4/canonicalize.m4, m4/double-slash-root.m4, m4/gnulib-comp.m4,
m4/malloca.m4, my/pathmax.4: copy from GNUlib or regenerate from
update
* src/emacs.c: find dump by canonical path
2019-06-24 01:19:08 +00:00
|
|
|
# Update an FSF copyright year list to include the current year.
|
2013-12-24 18:27:53 +00:00
|
|
|
|
2024-01-02 01:47:10 +00:00
|
|
|
# Copyright (C) 2009-2024 Free Software Foundation, Inc.
|
2013-12-24 18:27:53 +00:00
|
|
|
#
|
|
|
|
# This program is free software: you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
2022-02-23 19:11:52 +00:00
|
|
|
# the Free Software Foundation, either version 3, or (at your option)
|
2013-12-24 18:27:53 +00:00
|
|
|
# any later version.
|
|
|
|
#
|
|
|
|
# This program 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
|
2017-09-13 09:07:03 +00:00
|
|
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
Fix locating pdump by symlink
* admin/merge-gnulib (GNULIB_MODULES): Add canonicalize-lgpl module
* build-aux/config.guess, build-aux/gitlog-to-changelog,
build-aux/update-copyright, lib/canonicalize-lgpl.c,
lib/gnulib.mk.in, lib/malloca.c, lib/malloca.h, lib/pathmax.h,
m4/canonicalize.m4, m4/double-slash-root.m4, m4/gnulib-comp.m4,
m4/malloca.m4, my/pathmax.4: copy from GNUlib or regenerate from
update
* src/emacs.c: find dump by canonical path
2019-06-24 01:19:08 +00:00
|
|
|
#
|
2013-12-24 18:27:53 +00:00
|
|
|
# Written by Jim Meyering and Joel E. Denny
|
|
|
|
|
Fix locating pdump by symlink
* admin/merge-gnulib (GNULIB_MODULES): Add canonicalize-lgpl module
* build-aux/config.guess, build-aux/gitlog-to-changelog,
build-aux/update-copyright, lib/canonicalize-lgpl.c,
lib/gnulib.mk.in, lib/malloca.c, lib/malloca.h, lib/pathmax.h,
m4/canonicalize.m4, m4/double-slash-root.m4, m4/gnulib-comp.m4,
m4/malloca.m4, my/pathmax.4: copy from GNUlib or regenerate from
update
* src/emacs.c: find dump by canonical path
2019-06-24 01:19:08 +00:00
|
|
|
# This script updates an FSF copyright year list to include the current year.
|
|
|
|
# Usage: update-copyright [FILE...]
|
|
|
|
#
|
2013-12-24 18:27:53 +00:00
|
|
|
# The arguments to this script should be names of files that contain
|
|
|
|
# copyright statements to be updated. The copyright holder's name
|
|
|
|
# defaults to "Free Software Foundation, Inc." but may be changed to
|
|
|
|
# any other name by using the "UPDATE_COPYRIGHT_HOLDER" environment
|
|
|
|
# variable.
|
|
|
|
#
|
|
|
|
# For example, you might wish to use the update-copyright target rule
|
|
|
|
# in maint.mk from gnulib's maintainer-makefile module.
|
|
|
|
#
|
|
|
|
# Iff a copyright statement is recognized in a file and the final
|
|
|
|
# year is not the current year, then the statement is updated for the
|
|
|
|
# new year and it is reformatted to:
|
|
|
|
#
|
|
|
|
# 1. Fit within 72 columns.
|
|
|
|
# 2. Convert 2-digit years to 4-digit years by prepending "19".
|
|
|
|
# 3. Expand copyright year intervals. (See "Environment variables"
|
|
|
|
# below.)
|
|
|
|
#
|
|
|
|
# A warning is printed for every file for which no copyright
|
|
|
|
# statement is recognized.
|
|
|
|
#
|
|
|
|
# Each file's copyright statement must be formatted correctly in
|
|
|
|
# order to be recognized. For example, each of these is fine:
|
|
|
|
#
|
|
|
|
# Copyright @copyright{} 1990-2005, 2007-2009 Free Software
|
|
|
|
# Foundation, Inc.
|
|
|
|
#
|
|
|
|
# # Copyright (C) 1990-2005, 2007-2009 Free Software
|
|
|
|
# # Foundation, Inc.
|
|
|
|
#
|
|
|
|
# /*
|
|
|
|
# * Copyright © 90,2005,2007-2009
|
|
|
|
# * Free Software Foundation, Inc.
|
|
|
|
# */
|
|
|
|
#
|
|
|
|
# However, the following format is not recognized because the line
|
|
|
|
# prefix changes after the first line:
|
|
|
|
#
|
|
|
|
# ## Copyright (C) 1990-2005, 2007-2009 Free Software
|
|
|
|
# # Foundation, Inc.
|
|
|
|
#
|
|
|
|
# However, any correctly formatted copyright statement following
|
|
|
|
# a non-matching copyright statements would be recognized.
|
|
|
|
#
|
|
|
|
# The exact conditions that a file's copyright statement must meet
|
|
|
|
# to be recognized are:
|
|
|
|
#
|
|
|
|
# 1. It is the first copyright statement that meets all of the
|
|
|
|
# following conditions. Subsequent copyright statements are
|
|
|
|
# ignored.
|
|
|
|
# 2. Its format is "Copyright (C)", then a list of copyright years,
|
|
|
|
# and then the name of the copyright holder.
|
|
|
|
# 3. The "(C)" takes one of the following forms or is omitted
|
|
|
|
# entirely:
|
|
|
|
#
|
|
|
|
# A. (C)
|
|
|
|
# B. (c)
|
|
|
|
# C. @copyright{}
|
|
|
|
# D. ©
|
Merge from Gnulib
This incorporates:
2018-01-05 maint: Add encoding marker for Emacs to non-ASCII sources
2018-01-04 update-copyright: Handle use of ©
2018-01-04 pthread_sigmask: Avoid compilation error on mingw
2018-01-02 stat-time: silence -Wunused-parameter regression
* build-aux/config.guess, build-aux/config.sub:
* build-aux/update-copyright, doc/misc/texinfo.tex, lib/gnulib.mk.in:
* lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h, lib/sha256.c:
* lib/sha256.h, lib/sha512.c, lib/sha512.h, lib/signal.in.h:
* lib/stat-time.h: Copy from Gnulib, or regenerate.
2018-01-09 23:21:44 +00:00
|
|
|
# E. ©
|
2013-12-24 18:27:53 +00:00
|
|
|
#
|
|
|
|
# 4. The "Copyright" appears at the beginning of a line, except that it
|
|
|
|
# may be prefixed by any sequence (e.g., a comment) of no more than
|
|
|
|
# 5 characters -- including white space.
|
|
|
|
# 5. Iff such a prefix is present, the same prefix appears at the
|
|
|
|
# beginning of each remaining line within the FSF copyright
|
|
|
|
# statement. There is one exception in order to support C-style
|
|
|
|
# comments: if the first line's prefix contains nothing but
|
|
|
|
# whitespace surrounding a "/*", then the prefix for all subsequent
|
|
|
|
# lines is the same as the first line's prefix except with each of
|
|
|
|
# "/" and possibly "*" replaced by a " ". The replacement of "*"
|
|
|
|
# by " " is consistent throughout all subsequent lines.
|
|
|
|
# 6. Blank lines, even if preceded by the prefix, do not appear
|
|
|
|
# within the FSF copyright statement.
|
|
|
|
# 7. Each copyright year is 2 or 4 digits, and years are separated by
|
2023-07-09 20:05:01 +00:00
|
|
|
# commas, "-", "--", or "\(en" (for troff). Whitespace may appear
|
|
|
|
# after commas.
|
2013-12-24 18:27:53 +00:00
|
|
|
#
|
|
|
|
# Environment variables:
|
|
|
|
#
|
|
|
|
# 1. If UPDATE_COPYRIGHT_FORCE=1, a recognized FSF copyright statement
|
|
|
|
# is reformatted even if it does not need updating for the new
|
|
|
|
# year. If unset or set to 0, only updated FSF copyright
|
|
|
|
# statements are reformatted.
|
|
|
|
# 2. If UPDATE_COPYRIGHT_USE_INTERVALS=1, every series of consecutive
|
|
|
|
# copyright years (such as 90, 1991, 1992-2007, 2008) in a
|
|
|
|
# reformatted FSF copyright statement is collapsed to a single
|
|
|
|
# interval (such as 1990-2008). If unset or set to 0, all existing
|
|
|
|
# copyright year intervals in a reformatted FSF copyright statement
|
|
|
|
# are expanded instead.
|
|
|
|
# If UPDATE_COPYRIGHT_USE_INTERVALS=2, convert a sequence with gaps
|
|
|
|
# to the minimal containing range. For example, convert
|
|
|
|
# 2000, 2004-2007, 2009 to 2000-2009.
|
|
|
|
# 3. For testing purposes, you can set the assumed current year in
|
|
|
|
# UPDATE_COPYRIGHT_YEAR.
|
|
|
|
# 4. The default maximum line length for a copyright line is 72.
|
|
|
|
# Set UPDATE_COPYRIGHT_MAX_LINE_LENGTH to use a different length.
|
|
|
|
# 5. Set UPDATE_COPYRIGHT_HOLDER if the copyright holder is other
|
|
|
|
# than "Free Software Foundation, Inc.".
|
|
|
|
|
2023-09-17 14:49:21 +00:00
|
|
|
# This is a prologue that allows running a perl script as an executable
|
Fix locating pdump by symlink
* admin/merge-gnulib (GNULIB_MODULES): Add canonicalize-lgpl module
* build-aux/config.guess, build-aux/gitlog-to-changelog,
build-aux/update-copyright, lib/canonicalize-lgpl.c,
lib/gnulib.mk.in, lib/malloca.c, lib/malloca.h, lib/pathmax.h,
m4/canonicalize.m4, m4/double-slash-root.m4, m4/gnulib-comp.m4,
m4/malloca.m4, my/pathmax.4: copy from GNUlib or regenerate from
update
* src/emacs.c: find dump by canonical path
2019-06-24 01:19:08 +00:00
|
|
|
# on systems that are compliant to a POSIX version before POSIX:2017.
|
|
|
|
# On such systems, the usual invocation of an executable through execlp()
|
|
|
|
# or execvp() fails with ENOEXEC if it is a script that does not start
|
|
|
|
# with a #! line. The script interpreter mentioned in the #! line has
|
|
|
|
# to be /bin/sh, because on GuixSD systems that is the only program that
|
|
|
|
# has a fixed file name. The second line is essential for perl and is
|
|
|
|
# also useful for editing this file in Emacs. The next two lines below
|
|
|
|
# are valid code in both sh and perl. When executed by sh, they re-execute
|
|
|
|
# the script through the perl program found in $PATH. The '-x' option
|
|
|
|
# is essential as well; without it, perl would re-execute the script
|
2020-05-03 21:57:10 +00:00
|
|
|
# through /bin/sh. When executed by perl, the next two lines are a no-op.
|
2019-07-24 17:56:57 +00:00
|
|
|
eval 'exec perl -wSx -0777 -pi "$0" "$@"'
|
Fix locating pdump by symlink
* admin/merge-gnulib (GNULIB_MODULES): Add canonicalize-lgpl module
* build-aux/config.guess, build-aux/gitlog-to-changelog,
build-aux/update-copyright, lib/canonicalize-lgpl.c,
lib/gnulib.mk.in, lib/malloca.c, lib/malloca.h, lib/pathmax.h,
m4/canonicalize.m4, m4/double-slash-root.m4, m4/gnulib-comp.m4,
m4/malloca.m4, my/pathmax.4: copy from GNUlib or regenerate from
update
* src/emacs.c: find dump by canonical path
2019-06-24 01:19:08 +00:00
|
|
|
if 0;
|
|
|
|
|
2024-07-16 02:03:17 +00:00
|
|
|
my $VERSION = '2024-07-04.10:56'; # UTC
|
Fix locating pdump by symlink
* admin/merge-gnulib (GNULIB_MODULES): Add canonicalize-lgpl module
* build-aux/config.guess, build-aux/gitlog-to-changelog,
build-aux/update-copyright, lib/canonicalize-lgpl.c,
lib/gnulib.mk.in, lib/malloca.c, lib/malloca.h, lib/pathmax.h,
m4/canonicalize.m4, m4/double-slash-root.m4, m4/gnulib-comp.m4,
m4/malloca.m4, my/pathmax.4: copy from GNUlib or regenerate from
update
* src/emacs.c: find dump by canonical path
2019-06-24 01:19:08 +00:00
|
|
|
# The definition above must lie within the first 8 lines in order
|
|
|
|
# for the Emacs time-stamp write hook (at end) to update it.
|
|
|
|
# If you change this file with Emacs, please let the write hook
|
|
|
|
# do its job. Otherwise, update this string manually.
|
|
|
|
|
2013-12-24 18:27:53 +00:00
|
|
|
use strict;
|
|
|
|
use warnings;
|
2024-01-20 19:45:04 +00:00
|
|
|
use re 'eval';
|
2013-12-24 18:27:53 +00:00
|
|
|
|
|
|
|
my $copyright_re = 'Copyright';
|
Merge from Gnulib
This incorporates:
2018-01-05 maint: Add encoding marker for Emacs to non-ASCII sources
2018-01-04 update-copyright: Handle use of ©
2018-01-04 pthread_sigmask: Avoid compilation error on mingw
2018-01-02 stat-time: silence -Wunused-parameter regression
* build-aux/config.guess, build-aux/config.sub:
* build-aux/update-copyright, doc/misc/texinfo.tex, lib/gnulib.mk.in:
* lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h, lib/sha256.c:
* lib/sha256.h, lib/sha512.c, lib/sha512.h, lib/signal.in.h:
* lib/stat-time.h: Copy from Gnulib, or regenerate.
2018-01-09 23:21:44 +00:00
|
|
|
my $circle_c_re = '(?:\([cC]\)|@copyright\{}|\\\\\(co|©|©)';
|
2023-07-09 20:05:01 +00:00
|
|
|
my $ndash_re = '(?:--?|\\\\\(en)';
|
2013-12-24 18:27:53 +00:00
|
|
|
my $holder = $ENV{UPDATE_COPYRIGHT_HOLDER};
|
|
|
|
$holder ||= 'Free Software Foundation, Inc.';
|
|
|
|
my $prefix_max = 5;
|
|
|
|
my $margin = $ENV{UPDATE_COPYRIGHT_MAX_LINE_LENGTH};
|
|
|
|
!$margin || $margin !~ m/^\d+$/
|
|
|
|
and $margin = 72;
|
|
|
|
|
|
|
|
my $tab_width = 8;
|
|
|
|
|
|
|
|
my $this_year = $ENV{UPDATE_COPYRIGHT_YEAR};
|
|
|
|
if (!$this_year || $this_year !~ m/^\d{4}$/)
|
|
|
|
{
|
|
|
|
my ($sec, $min, $hour, $mday, $month, $year) = localtime (time ());
|
|
|
|
$this_year = $year + 1900;
|
|
|
|
}
|
|
|
|
|
|
|
|
# Unless the file consistently uses "\r\n" as the EOL, use "\n" instead.
|
|
|
|
my $eol = /(?:^|[^\r])\n/ ? "\n" : "\r\n";
|
|
|
|
|
|
|
|
my $stmt_re;
|
2024-01-20 19:45:04 +00:00
|
|
|
my $found;
|
|
|
|
while (/(^|\n)(.{0,$prefix_max})$copyright_re/cg)
|
2013-12-24 18:27:53 +00:00
|
|
|
{
|
2024-01-20 19:45:04 +00:00
|
|
|
my $pos=pos();
|
|
|
|
my $leading = "$1$2";
|
|
|
|
my $prefix = $2;
|
2013-12-24 18:27:53 +00:00
|
|
|
if ($prefix =~ /^(\s*\/)\*(\s*)$/)
|
|
|
|
{
|
|
|
|
$prefix =~ s,/, ,;
|
|
|
|
my $prefix_ws = $prefix;
|
|
|
|
$prefix_ws =~ s/\*/ /; # Only whitespace.
|
|
|
|
if (/\G(?:[^*\n]|\*[^\/\n])*\*?\n$prefix_ws/)
|
|
|
|
{
|
|
|
|
$prefix = $prefix_ws;
|
|
|
|
}
|
|
|
|
}
|
2024-01-20 19:45:04 +00:00
|
|
|
my $ws_re = '[ \t\r\f]'; # \s without \n
|
2013-12-24 18:27:53 +00:00
|
|
|
$ws_re =
|
|
|
|
"(?:$ws_re*(?:$ws_re|\\n" . quotemeta($prefix) . ")$ws_re*)";
|
|
|
|
my $holder_re = $holder;
|
|
|
|
$holder_re =~ s/\s/$ws_re/g;
|
|
|
|
my $stmt_remainder_re =
|
|
|
|
"(?:$ws_re$circle_c_re)?"
|
2023-07-09 20:05:01 +00:00
|
|
|
. "$ws_re(?:(?:\\d\\d)?\\d\\d(?:,$ws_re?|$ndash_re))*"
|
2013-12-24 18:27:53 +00:00
|
|
|
. "((?:\\d\\d)?\\d\\d)$ws_re$holder_re";
|
|
|
|
if (/\G$stmt_remainder_re/)
|
|
|
|
{
|
2024-01-20 19:45:04 +00:00
|
|
|
$found = 1;
|
2013-12-24 18:27:53 +00:00
|
|
|
$stmt_re =
|
|
|
|
quotemeta($leading) . "($copyright_re$stmt_remainder_re)";
|
|
|
|
|
2024-01-20 19:45:04 +00:00
|
|
|
/$stmt_re/ or die; # Should never die.
|
|
|
|
my $stmt = $1;
|
|
|
|
my $final_year_orig = $2;
|
2013-12-24 18:27:53 +00:00
|
|
|
|
2024-01-20 19:45:04 +00:00
|
|
|
# Handle two-digit year numbers like "98" and "99".
|
|
|
|
my $final_year = $final_year_orig;
|
|
|
|
$final_year <= 99
|
|
|
|
and $final_year += 1900;
|
2013-12-24 18:27:53 +00:00
|
|
|
|
2024-01-20 19:45:04 +00:00
|
|
|
if ($final_year != $this_year)
|
2013-12-24 18:27:53 +00:00
|
|
|
{
|
2024-01-20 19:45:04 +00:00
|
|
|
# Update the year.
|
|
|
|
$stmt =~ s/(^|[^\d])$final_year_orig\b/$1$final_year, $this_year/;
|
2013-12-24 18:27:53 +00:00
|
|
|
}
|
2024-01-20 19:45:04 +00:00
|
|
|
if ($final_year != $this_year || $ENV{'UPDATE_COPYRIGHT_FORCE'})
|
2013-12-24 18:27:53 +00:00
|
|
|
{
|
2024-01-20 19:45:04 +00:00
|
|
|
# Normalize all whitespace including newline-prefix sequences.
|
|
|
|
$stmt =~ s/$ws_re/ /g;
|
2019-10-24 21:32:06 +00:00
|
|
|
|
2024-01-20 19:45:04 +00:00
|
|
|
# Put spaces after commas.
|
|
|
|
$stmt =~ s/, ?/, /g;
|
2013-12-24 18:27:53 +00:00
|
|
|
|
2024-01-20 19:45:04 +00:00
|
|
|
# Convert 2-digit to 4-digit years.
|
|
|
|
$stmt =~ s/(\b\d\d\b)/19$1/g;
|
2013-12-24 18:27:53 +00:00
|
|
|
|
2024-01-20 19:45:04 +00:00
|
|
|
# Make the use of intervals consistent.
|
|
|
|
if (!$ENV{UPDATE_COPYRIGHT_USE_INTERVALS})
|
2013-12-24 18:27:53 +00:00
|
|
|
{
|
2024-01-20 19:45:04 +00:00
|
|
|
$stmt =~ s/(\d{4})$ndash_re(\d{4})/join(', ', $1..$2)/eg;
|
2013-12-24 18:27:53 +00:00
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
2024-01-20 19:45:04 +00:00
|
|
|
my $ndash = ($ARGV =~ /\.tex(i(nfo)?)?$/ ? "--"
|
|
|
|
: $ARGV =~ /\.(\d[a-z]*|man)$/ ? "\\(en"
|
|
|
|
: "-");
|
|
|
|
|
|
|
|
$stmt =~
|
|
|
|
s/
|
|
|
|
(\d{4})
|
|
|
|
(?:
|
|
|
|
(,\ |$ndash_re)
|
|
|
|
((??{
|
|
|
|
if ($2 ne ', ') { '\d{4}'; }
|
|
|
|
elsif (!$3) { $1 + 1; }
|
|
|
|
else { $3 + 1; }
|
|
|
|
}))
|
|
|
|
)+
|
|
|
|
/$1$ndash$3/gx;
|
|
|
|
|
|
|
|
# When it's 2, emit a single range encompassing all year numbers.
|
|
|
|
$ENV{UPDATE_COPYRIGHT_USE_INTERVALS} == 2
|
|
|
|
and $stmt =~ s/(^|[^\d])(\d{4})\b.*(?:[^\d])(\d{4})\b/$1$2$ndash$3/;
|
2013-12-24 18:27:53 +00:00
|
|
|
}
|
|
|
|
|
2024-01-20 19:45:04 +00:00
|
|
|
# Format within margin.
|
|
|
|
my $stmt_wrapped;
|
|
|
|
my $text_margin = $margin - length($prefix);
|
|
|
|
if ($prefix =~ /^(\t+)/)
|
|
|
|
{
|
|
|
|
$text_margin -= length($1) * ($tab_width - 1);
|
|
|
|
}
|
|
|
|
while (length $stmt)
|
|
|
|
{
|
|
|
|
if (($stmt =~ s/^(.{1,$text_margin})(?: |$)//)
|
|
|
|
|| ($stmt =~ s/^([\S]+)(?: |$)//))
|
|
|
|
{
|
|
|
|
my $line = $1;
|
|
|
|
$stmt_wrapped .= $stmt_wrapped ? "$eol$prefix" : $leading;
|
|
|
|
$stmt_wrapped .= $line;
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
# Should be unreachable, but we don't want an infinite
|
|
|
|
# loop if it can be reached.
|
|
|
|
die;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# Replace the old copyright statement.
|
|
|
|
my $p = pos();
|
|
|
|
s/$stmt_re/$stmt_wrapped/g;
|
|
|
|
pos() = $p;
|
|
|
|
}
|
2013-12-24 18:27:53 +00:00
|
|
|
}
|
|
|
|
}
|
2024-01-20 19:45:04 +00:00
|
|
|
|
|
|
|
if (!$found)
|
2013-12-24 18:27:53 +00:00
|
|
|
{
|
|
|
|
print STDERR "$ARGV: warning: copyright statement not found\n";
|
|
|
|
}
|
|
|
|
|
Merge from Gnulib
This incorporates:
2018-01-05 maint: Add encoding marker for Emacs to non-ASCII sources
2018-01-04 update-copyright: Handle use of ©
2018-01-04 pthread_sigmask: Avoid compilation error on mingw
2018-01-02 stat-time: silence -Wunused-parameter regression
* build-aux/config.guess, build-aux/config.sub:
* build-aux/update-copyright, doc/misc/texinfo.tex, lib/gnulib.mk.in:
* lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h, lib/sha256.c:
* lib/sha256.h, lib/sha512.c, lib/sha512.h, lib/signal.in.h:
* lib/stat-time.h: Copy from Gnulib, or regenerate.
2018-01-09 23:21:44 +00:00
|
|
|
# Hey Emacs!
|
2013-12-24 18:27:53 +00:00
|
|
|
# Local variables:
|
Merge from Gnulib
This incorporates:
2018-01-05 maint: Add encoding marker for Emacs to non-ASCII sources
2018-01-04 update-copyright: Handle use of ©
2018-01-04 pthread_sigmask: Avoid compilation error on mingw
2018-01-02 stat-time: silence -Wunused-parameter regression
* build-aux/config.guess, build-aux/config.sub:
* build-aux/update-copyright, doc/misc/texinfo.tex, lib/gnulib.mk.in:
* lib/md5.c, lib/md5.h, lib/sha1.c, lib/sha1.h, lib/sha256.c:
* lib/sha256.h, lib/sha512.c, lib/sha512.h, lib/signal.in.h:
* lib/stat-time.h: Copy from Gnulib, or regenerate.
2018-01-09 23:21:44 +00:00
|
|
|
# coding: utf-8
|
2013-12-24 18:27:53 +00:00
|
|
|
# mode: perl
|
|
|
|
# indent-tabs-mode: nil
|
2024-07-16 02:03:17 +00:00
|
|
|
# eval: (add-hook 'before-save-hook 'time-stamp nil t)
|
Fix locating pdump by symlink
* admin/merge-gnulib (GNULIB_MODULES): Add canonicalize-lgpl module
* build-aux/config.guess, build-aux/gitlog-to-changelog,
build-aux/update-copyright, lib/canonicalize-lgpl.c,
lib/gnulib.mk.in, lib/malloca.c, lib/malloca.h, lib/pathmax.h,
m4/canonicalize.m4, m4/double-slash-root.m4, m4/gnulib-comp.m4,
m4/malloca.m4, my/pathmax.4: copy from GNUlib or regenerate from
update
* src/emacs.c: find dump by canonical path
2019-06-24 01:19:08 +00:00
|
|
|
# time-stamp-line-limit: 200
|
2013-12-24 18:27:53 +00:00
|
|
|
# time-stamp-start: "my $VERSION = '"
|
|
|
|
# time-stamp-format: "%:y-%02m-%02d.%02H:%02M"
|
2016-01-12 21:04:17 +00:00
|
|
|
# time-stamp-time-zone: "UTC0"
|
2013-12-24 18:27:53 +00:00
|
|
|
# time-stamp-end: "'; # UTC"
|
|
|
|
# End:
|