aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Eggert2014-07-11 10:28:53 -0700
committerPaul Eggert2014-07-11 10:28:53 -0700
commitc9a1635c3855e8a201e330b2548c2ee24159b25d (patch)
treea1f11490d04f1164ac93148d0286066ba8e17fe9
parent46b7604ea4e0a27db09be6cc9e980812bde142bf (diff)
downloademacs-c9a1635c3855e8a201e330b2548c2ee24159b25d.tar.gz
emacs-c9a1635c3855e8a201e330b2548c2ee24159b25d.zip
* Makefile.in (install-arch-indep): Avoid readdir race.
Fixes: debbugs:17971
-rw-r--r--ChangeLog4
-rw-r--r--Makefile.in5
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 07954be7d6b..cdf4152bc0a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
12014-07-11 Paul Eggert <eggert@cs.ucla.edu>
2
3 * Makefile.in (install-arch-indep): Avoid readdir race (Bug#17971).
4
12014-06-20 Paul Eggert <eggert@cs.ucla.edu> 52014-06-20 Paul Eggert <eggert@cs.ucla.edu>
2 6
3 * configure.ac: Warn about --enable-link-time-optimization's issues 7 * configure.ac: Warn about --enable-link-time-optimization's issues
diff --git a/Makefile.in b/Makefile.in
index 76a030407b9..103b035a3c9 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -615,8 +615,9 @@ install-arch-indep: lisp install-info install-man ${INSTALL_ARCH_INDEP_EXTRA}
615 [ -z "${GZIP_PROG}" ] || { \ 615 [ -z "${GZIP_PROG}" ] || { \
616 echo "Compressing *.el ..." && \ 616 echo "Compressing *.el ..." && \
617 cd "$(DESTDIR)${lispdir}" && \ 617 cd "$(DESTDIR)${lispdir}" && \
618 find . -name '*.elc' -exec $(SHELL) -c \ 618 for f in `find . -name "*.elc" -print | sed 's/.elc$$/.el/'`; do \
619 '${GZIP_PROG} -9n `expr "$$1" : "\\(.*\\)c"`' dummy '{}' ';'; \ 619 ${GZIP_PROG} -9n "$$f"; \
620 done; \
620 } 621 }
621 -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS} 622 -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}
622 623