changeset 7268:e476bb105193

Fix global typo in last change: use chmod u-w, not chmod u-x. Spotted by Paul Eggert and Bruce Korb. * modules/alloca-opt, modules/argz, modules/arpa_inet: * modules/byteswap, modules/configmake, modules/fcntl: * modules/fnmatch, modules/getopt, modules/glob, modules/inttypes: * modules/localcharset, modules/netinet_in, modules/poll: * modules/stdbool, modules/stdint, modules/sys_select: * modules/sys_socket, modules/sys_stat, modules/sysexits:
author Jim Meyering <jim@meyering.net>
date Thu, 07 Sep 2006 05:53:52 +0000
parents 8dffb67501b7
children 187d69b652f5
files ChangeLog modules/alloca-opt modules/argz modules/arpa_inet modules/byteswap modules/configmake modules/fcntl modules/fnmatch modules/getopt modules/glob modules/inttypes modules/localcharset modules/netinet_in modules/poll modules/stdbool modules/stdint modules/sys_select modules/sys_socket modules/sys_stat modules/sysexits
diffstat 20 files changed, 31 insertions(+), 20 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,14 @@
+2006-09-07  Jim Meyering  <jim@meyering.net>
+
+	Fix global typo in last change: use chmod u-w, not chmod u-x.
+	Spotted by Paul Eggert and Bruce Korb.
+	* modules/alloca-opt, modules/argz, modules/arpa_inet:
+	* modules/byteswap, modules/configmake, modules/fcntl:
+	* modules/fnmatch, modules/getopt, modules/glob, modules/inttypes:
+	* modules/localcharset, modules/netinet_in, modules/poll:
+	* modules/stdbool, modules/stdint, modules/sys_select:
+	* modules/sys_socket, modules/sys_stat, modules/sysexits:
+
 2006-09-06  Jim Meyering  <jim@meyering.net>
 
 	Make generated files be read-only.
--- a/modules/alloca-opt
+++ b/modules/alloca-opt
@@ -21,7 +21,7 @@
 alloca.h: alloca_.h
 	rm -f $@-t $@
 	cp $(srcdir)/alloca_.h $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += alloca.h alloca.h-t
 
--- a/modules/argz
+++ b/modules/argz
@@ -20,7 +20,7 @@
 argz.h: argz_.h
 	rm -f $@-t $@
 	cp $(srcdir)/argz_.h $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += argz.h argz.h-t
 
--- a/modules/arpa_inet
+++ b/modules/arpa_inet
@@ -19,7 +19,7 @@
 	test -d arpa || mkdir arpa
 	rm -f $@-t $@
 	echo '#include <sys/socket.h>' >$@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += arpa/inet.h arpa/inet.h-t
 MOSTLYCLEANDIRS += arpa
--- a/modules/byteswap
+++ b/modules/byteswap
@@ -19,7 +19,7 @@
 byteswap.h: byteswap_.h
 	rm -f $@-t $@
 	cp $(srcdir)/byteswap_.h $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += byteswap.h byteswap.h-t
 
--- a/modules/configmake
+++ b/modules/configmake
@@ -50,7 +50,7 @@
 	  echo '#define MANDIR "$(mandir)"'; \
 	  echo '#define MANEXT "$(manext)"'; \
 	:) | sed '/""/d' >$@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 BUILT_SOURCES += configmake.h
 CLEANFILES += configmake.h configmake.h-t
--- a/modules/fcntl
+++ b/modules/fcntl
@@ -22,7 +22,7 @@
 	rm -f $@-t $@
 	sed -e 's|@''ABSOLUTE_FCNTL_H''@|$(ABSOLUTE_FCNTL_H)|g' \
 	    < $(srcdir)/fcntl_.h > $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += fcntl.h fcntl.h-t
 
--- a/modules/fnmatch
+++ b/modules/fnmatch
@@ -24,7 +24,7 @@
 fnmatch.h: fnmatch_.h
 	rm -f $@-t $@
 	cp $(srcdir)/fnmatch_.h $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += fnmatch.h fnmatch.h-t
 
--- a/modules/getopt
+++ b/modules/getopt
@@ -24,7 +24,7 @@
 getopt.h: getopt_.h
 	rm -f $@-t $@
 	cp $(srcdir)/getopt_.h $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += getopt.h getopt.h-t
 
--- a/modules/glob
+++ b/modules/glob
@@ -32,7 +32,7 @@
 glob.h: glob_.h
 	rm -f $@-t $@
 	cp $(srcdir)/glob_.h $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += glob.h glob.h-t
 
--- a/modules/inttypes
+++ b/modules/inttypes
@@ -32,7 +32,7 @@
 	    -e 's/@''HAVE_DECL_STRTOIMAX''@/$(HAVE_DECL_STRTOIMAX)/g' \
 	    -e 's/@''HAVE_DECL_STRTOUMAX''@/$(HAVE_DECL_STRTOUMAX)/g' \
 	    < $(srcdir)/inttypes_.h > $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += inttypes.h inttypes.h-t
 
--- a/modules/localcharset
+++ b/modules/localcharset
@@ -61,14 +61,14 @@
 charset.alias: config.charset
 	rm -f t-$@ $@
 	$(SHELL) $(srcdir)/config.charset '$(host)' > t-$@
-	chmod a-x t-$@
+	chmod a-w t-$@
 	mv t-$@ $@
 
 SUFFIXES += .sed .sin
 .sin.sed:
 	rm -f t-$@ $@
 	sed -e '/^#/d' -e 's/@''PACKAGE''@/$(PACKAGE)/g' $< > t-$@
-	chmod a-x t-$@
+	chmod a-w t-$@
 	mv t-$@ $@
 
 CLEANFILES += charset.alias ref-add.sed ref-del.sed
--- a/modules/netinet_in
+++ b/modules/netinet_in
@@ -19,7 +19,7 @@
 	test -d netinet || mkdir netinet
 	rm -f $@-t $@
 	echo '#include <sys/socket.h>' >$@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += netinet/in.h netinet/in.h-t
 MOSTLYCLEANDIRS += netinet
--- a/modules/poll
+++ b/modules/poll
@@ -20,7 +20,7 @@
 poll.h: poll_.h
 	rm -f $@-t $@
 	cp $(srcdir)/poll_.h $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += poll.h poll.h-t
 
--- a/modules/stdbool
+++ b/modules/stdbool
@@ -20,7 +20,7 @@
 stdbool.h: stdbool_.h
 	rm -f $@-t $@
 	sed -e 's/@''HAVE__BOOL''@/$(HAVE__BOOL)/g' < $(srcdir)/stdbool_.h > $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += stdbool.h stdbool.h-t
 
--- a/modules/stdint
+++ b/modules/stdint
@@ -47,7 +47,7 @@
 	    -e 's/@''HAVE_SIGNED_WINT_T''@/$(HAVE_SIGNED_WINT_T)/g' \
 	    -e 's/@''WINT_T_SUFFIX''@/$(WINT_T_SUFFIX)/g' \
 	    < $(srcdir)/stdint_.h > $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += stdint.h stdint.h-t
 
--- a/modules/sys_select
+++ b/modules/sys_select
@@ -19,7 +19,7 @@
 	test -d sys || mkdir sys
 	rm -f $@-t $@
 	echo '#include <sys/socket.h>' >$@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += sys/select.h sys/select.h-t
 MOSTLYCLEANDIRS += sys
--- a/modules/sys_socket
+++ b/modules/sys_socket
@@ -21,7 +21,7 @@
 	test -d sys || mkdir sys
 	rm -f $@-t $@
 	cp $(srcdir)/socket_.h $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += sys/socket.h sys/socket.h-t
 MOSTLYCLEANDIRS += sys
--- a/modules/sys_stat
+++ b/modules/sys_stat
@@ -22,7 +22,7 @@
 	rm -f $@-t $@
 	sed -e 's|@''ABSOLUTE_SYS_STAT_H''@|$(ABSOLUTE_SYS_STAT_H)|g' \
 	    < $(srcdir)/stat_.h > $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += sys/stat.h sys/stat.h-t
 MOSTLYCLEANDIRS += sys
--- a/modules/sysexits
+++ b/modules/sysexits
@@ -19,7 +19,7 @@
 sysexits.h: sysexit_.h
 	rm -f $@-t $@
 	cp $(srcdir)/sysexit_.h $@-t
-	chmod a-x $@-t
+	chmod a-w $@-t
 	mv $@-t $@
 MOSTLYCLEANFILES += sysexits.h sysexits.h-t