emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-24 r117370: * Makefile.in (install-arch-indep): Avoi


From: Paul Eggert
Subject: [Emacs-diffs] emacs-24 r117370: * Makefile.in (install-arch-indep): Avoid readdir race.
Date: Fri, 11 Jul 2014 17:28:57 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117370
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/17971
committer: Paul Eggert <address@hidden>
branch nick: emacs-24
timestamp: Fri 2014-07-11 10:28:53 -0700
message:
  * Makefile.in (install-arch-indep): Avoid readdir race.
modified:
  ChangeLog                      changelog-20091113204419-o5vbwnq5f7feedwu-1538
  Makefile.in                    makefile.in-20091113204419-o5vbwnq5f7feedwu-446
=== modified file 'ChangeLog'
--- a/ChangeLog 2014-06-20 19:46:18 +0000
+++ b/ChangeLog 2014-07-11 17:28:53 +0000
@@ -1,3 +1,7 @@
+2014-07-11  Paul Eggert  <address@hidden>
+
+       * Makefile.in (install-arch-indep): Avoid readdir race (Bug#17971).
+
 2014-06-20  Paul Eggert  <address@hidden>
 
        * configure.ac: Warn about --enable-link-time-optimization's issues

=== modified file 'Makefile.in'
--- a/Makefile.in       2014-02-14 08:05:18 +0000
+++ b/Makefile.in       2014-07-11 17:28:53 +0000
@@ -615,8 +615,9 @@
        [ -z "${GZIP_PROG}" ] || { \
          echo "Compressing *.el ..." && \
          cd "$(DESTDIR)${lispdir}" && \
-         find . -name '*.elc' -exec $(SHELL) -c \
-           '${GZIP_PROG} -9n `expr "$$1" : "\\(.*\\)c"`' dummy '{}' ';'; \
+         for f in `find . -name "*.elc" -print | sed 's/.elc$$/.el/'`; do \
+           ${GZIP_PROG} -9n "$$f"; \
+         done; \
        }
        -chmod -R a+r "$(DESTDIR)${datadir}/emacs/${version}" ${COPYDESTS}
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]