aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2018-03-20 09:26:09 -0700
committerPaul Eggert2018-03-20 09:26:37 -0700
commit7ce25de888f285502898da13e689e4372fc6a49d (patch)
tree1919f75768200f79373fc27c7420fb2567757465
parenta5f190dd658419e9328a846a1044b8294a7632d9 (diff)
downloademacs-7ce25de888f285502898da13e689e4372fc6a49d.tar.gz
emacs-7ce25de888f285502898da13e689e4372fc6a49d.zip
Autoupdate from Gnulib
-rwxr-xr-xbuild-aux/install-sh25
-rw-r--r--doc/misc/texinfo.tex6
-rw-r--r--m4/getloadavg.m44
3 files changed, 22 insertions, 13 deletions
diff --git a/build-aux/install-sh b/build-aux/install-sh
index 5f3d36cb761..8175c640fe6 100755
--- a/build-aux/install-sh
+++ b/build-aux/install-sh
@@ -1,7 +1,7 @@
1#!/bin/sh 1#!/bin/sh
2# install - install a program, script, or datafile 2# install - install a program, script, or datafile
3 3
4scriptversion=2018-03-07.03; # UTC 4scriptversion=2018-03-11.20; # UTC
5 5
6# This originates from X11R5 (mit/util/scripts/install.sh), which was 6# This originates from X11R5 (mit/util/scripts/install.sh), which was
7# later released in X11R6 (xc/config/util/install.sh) with the 7# later released in X11R6 (xc/config/util/install.sh) with the
@@ -332,34 +332,43 @@ do
332 # is incompatible with FreeBSD 'install' when (umask & 300) != 0. 332 # is incompatible with FreeBSD 'install' when (umask & 300) != 0.
333 ;; 333 ;;
334 *) 334 *)
335 # Note that $RANDOM variable is not portable (e.g. dash); Use it
336 # here however when possible just to lower collision chance.
335 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$ 337 tmpdir=${TMPDIR-/tmp}/ins$RANDOM-$$
336 trap 'ret=$?; rmdir "$tmpdir/d" "$tmpdir" 2>/dev/null; exit $ret' 0
337 338
339 trap 'ret=$?; rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir" 2>/dev/null; exit $ret' 0
340
341 # Because "mkdir -p" follows existing symlinks and we likely work
342 # directly in world-writeable /tmp, make sure that the '$tmpdir'
343 # directory is successfully created first before we actually test
344 # 'mkdir -p' feature.
338 if (umask $mkdir_umask && 345 if (umask $mkdir_umask &&
339 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/d") >/dev/null 2>&1 346 $mkdirprog $mkdir_mode "$tmpdir" &&
347 exec $mkdirprog $mkdir_mode -p -- "$tmpdir/a/b") >/dev/null 2>&1
340 then 348 then
341 if test -z "$dir_arg" || { 349 if test -z "$dir_arg" || {
342 # Check for POSIX incompatibilities with -m. 350 # Check for POSIX incompatibilities with -m.
343 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or 351 # HP-UX 11.23 and IRIX 6.5 mkdir -m -p sets group- or
344 # other-writable bit of parent directory when it shouldn't. 352 # other-writable bit of parent directory when it shouldn't.
345 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory. 353 # FreeBSD 6.1 mkdir -m -p sets mode of existing directory.
346 ls_ld_tmpdir=`ls -ld "$tmpdir"` 354 test_tmpdir="$tmpdir/a"
355 ls_ld_tmpdir=`ls -ld "$test_tmpdir"`
347 case $ls_ld_tmpdir in 356 case $ls_ld_tmpdir in
348 d????-?r-*) different_mode=700;; 357 d????-?r-*) different_mode=700;;
349 d????-?--*) different_mode=755;; 358 d????-?--*) different_mode=755;;
350 *) false;; 359 *) false;;
351 esac && 360 esac &&
352 $mkdirprog -m$different_mode -p -- "$tmpdir" && { 361 $mkdirprog -m$different_mode -p -- "$test_tmpdir" && {
353 ls_ld_tmpdir_1=`ls -ld "$tmpdir"` 362 ls_ld_tmpdir_1=`ls -ld "$test_tmpdir"`
354 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1" 363 test "$ls_ld_tmpdir" = "$ls_ld_tmpdir_1"
355 } 364 }
356 } 365 }
357 then posix_mkdir=: 366 then posix_mkdir=:
358 fi 367 fi
359 rmdir "$tmpdir/d" "$tmpdir" 368 rmdir "$tmpdir/a/b" "$tmpdir/a" "$tmpdir"
360 else 369 else
361 # Remove any dirs left behind by ancient mkdir implementations. 370 # Remove any dirs left behind by ancient mkdir implementations.
362 rmdir ./$mkdir_mode ./-p ./-- 2>/dev/null 371 rmdir ./$mkdir_mode ./-p ./-- "$tmpdir" 2>/dev/null
363 fi 372 fi
364 trap '' 0;; 373 trap '' 0;;
365 esac;; 374 esac;;
diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex
index ac5c1d922ec..aa4f256437e 100644
--- a/doc/misc/texinfo.tex
+++ b/doc/misc/texinfo.tex
@@ -3,7 +3,7 @@
3% Load plain if necessary, i.e., if running under initex. 3% Load plain if necessary, i.e., if running under initex.
4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi 4\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
5% 5%
6\def\texinfoversion{2018-02-12.17} 6\def\texinfoversion{2018-03-10.14}
7% 7%
8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995, 8% Copyright 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 9% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
@@ -182,7 +182,7 @@
182% Hyphenation fixes. 182% Hyphenation fixes.
183\hyphenation{ 183\hyphenation{
184 Flor-i-da Ghost-script Ghost-view Mac-OS Post-Script 184 Flor-i-da Ghost-script Ghost-view Mac-OS Post-Script
185 auto-ma-ti-cal-ly ap-pen-dix bit-map bit-maps 185 ap-pen-dix bit-map bit-maps
186 data-base data-bases eshell fall-ing half-way long-est man-u-script 186 data-base data-bases eshell fall-ing half-way long-est man-u-script
187 man-u-scripts mini-buf-fer mini-buf-fers over-view par-a-digm 187 man-u-scripts mini-buf-fer mini-buf-fers over-view par-a-digm
188 par-a-digms rath-er rec-tan-gu-lar ro-bot-ics se-vere-ly set-up spa-ces 188 par-a-digms rath-er rec-tan-gu-lar ro-bot-ics se-vere-ly set-up spa-ces
@@ -11715,7 +11715,7 @@ directory should work if nowhere else does.}
11715@markupsetuprqdefault 11715@markupsetuprqdefault
11716 11716
11717@c Local variables: 11717@c Local variables:
11718@c eval: (add-hook 'write-file-hooks 'time-stamp) 11718@c eval: (add-hook 'before-save-hook 'time-stamp)
11719@c page-delimiter: "^\\\\message\\|emacs-page" 11719@c page-delimiter: "^\\\\message\\|emacs-page"
11720@c time-stamp-start: "def\\\\texinfoversion{" 11720@c time-stamp-start: "def\\\\texinfoversion{"
11721@c time-stamp-format: "%:y-%02m-%02d.%02H" 11721@c time-stamp-format: "%:y-%02m-%02d.%02H"
diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4
index 7b6a09a5c5b..d3a8910ecfc 100644
--- a/m4/getloadavg.m4
+++ b/m4/getloadavg.m4
@@ -7,7 +7,7 @@
7# gives unlimited permission to copy and/or distribute it, 7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved. 8# with or without modifications, as long as this notice is preserved.
9 9
10#serial 7 10#serial 8
11 11
12# Autoconf defines AC_FUNC_GETLOADAVG, but that is obsolescent. 12# Autoconf defines AC_FUNC_GETLOADAVG, but that is obsolescent.
13# New applications should use gl_GETLOADAVG instead. 13# New applications should use gl_GETLOADAVG instead.
@@ -22,7 +22,7 @@ AC_REQUIRE([AC_USE_SYSTEM_EXTENSIONS])
22 22
23gl_save_LIBS=$LIBS 23gl_save_LIBS=$LIBS
24 24
25# getloadvg is present in libc on glibc >= 2.2, Mac OS X, FreeBSD >= 2.0, 25# getloadavg is present in libc on glibc >= 2.2, Mac OS X, FreeBSD >= 2.0,
26# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7. 26# NetBSD >= 0.9, OpenBSD >= 2.0, Solaris >= 7.
27HAVE_GETLOADAVG=1 27HAVE_GETLOADAVG=1
28AC_CHECK_FUNC([getloadavg], [], 28AC_CHECK_FUNC([getloadavg], [],