diff options
| author | Paul Eggert | 2014-07-11 10:28:53 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-07-11 10:28:53 -0700 |
| commit | c9a1635c3855e8a201e330b2548c2ee24159b25d (patch) | |
| tree | a1f11490d04f1164ac93148d0286066ba8e17fe9 | |
| parent | 46b7604ea4e0a27db09be6cc9e980812bde142bf (diff) | |
| download | emacs-c9a1635c3855e8a201e330b2548c2ee24159b25d.tar.gz emacs-c9a1635c3855e8a201e330b2548c2ee24159b25d.zip | |
* Makefile.in (install-arch-indep): Avoid readdir race.
Fixes: debbugs:17971
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | Makefile.in | 5 |
2 files changed, 7 insertions, 2 deletions
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-07-11 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * Makefile.in (install-arch-indep): Avoid readdir race (Bug#17971). | ||
| 4 | |||
| 1 | 2014-06-20 Paul Eggert <eggert@cs.ucla.edu> | 5 | 2014-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 | ||