summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-09-07 05:53:52 +0000
committerJim Meyering <jim@meyering.net>2006-09-07 05:53:52 +0000
commitf110f8c4810ee8acf04df527cba30413f709648f (patch)
tree04e51e80e209b634ed0836745133fea279cd9680
parentd1aadab21bf8755e0fb75a838dc650e73f6ee78d (diff)
downloadgnulib-f110f8c4810ee8acf04df527cba30413f709648f.tar.gz
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:
-rw-r--r--ChangeLog11
-rw-r--r--modules/alloca-opt2
-rw-r--r--modules/argz2
-rw-r--r--modules/arpa_inet2
-rw-r--r--modules/byteswap2
-rw-r--r--modules/configmake2
-rw-r--r--modules/fcntl2
-rw-r--r--modules/fnmatch2
-rw-r--r--modules/getopt2
-rw-r--r--modules/glob2
-rw-r--r--modules/inttypes2
-rw-r--r--modules/localcharset4
-rw-r--r--modules/netinet_in2
-rw-r--r--modules/poll2
-rw-r--r--modules/stdbool2
-rw-r--r--modules/stdint2
-rw-r--r--modules/sys_select2
-rw-r--r--modules/sys_socket2
-rw-r--r--modules/sys_stat2
-rw-r--r--modules/sysexits2
20 files changed, 31 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a416af2bd..f83474518d 100644
--- 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.
diff --git a/modules/alloca-opt b/modules/alloca-opt
index dd2959df5f..f2cee4d665 100644
--- a/modules/alloca-opt
+++ b/modules/alloca-opt
@@ -21,7 +21,7 @@ EXTRA_DIST += alloca_.h
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
diff --git a/modules/argz b/modules/argz
index fe1e40d512..e9a5f3907c 100644
--- a/modules/argz
+++ b/modules/argz
@@ -20,7 +20,7 @@ EXTRA_DIST += argz_.h
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
diff --git a/modules/arpa_inet b/modules/arpa_inet
index 17a14c0dfa..6e44f1474c 100644
--- a/modules/arpa_inet
+++ b/modules/arpa_inet
@@ -19,7 +19,7 @@ arpa/inet.h:
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
diff --git a/modules/byteswap b/modules/byteswap
index b667b9437c..dd7d424fd0 100644
--- a/modules/byteswap
+++ b/modules/byteswap
@@ -19,7 +19,7 @@ EXTRA_DIST += byteswap_.h
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
diff --git a/modules/configmake b/modules/configmake
index c3e9b37d63..2ffe57b2ba 100644
--- a/modules/configmake
+++ b/modules/configmake
@@ -50,7 +50,7 @@ configmake.h: Makefile
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
diff --git a/modules/fcntl b/modules/fcntl
index ca1637b74d..a12648f50b 100644
--- a/modules/fcntl
+++ b/modules/fcntl
@@ -22,7 +22,7 @@ fcntl.h: fcntl_.h
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
diff --git a/modules/fnmatch b/modules/fnmatch
index bd13b8557f..8352796b98 100644
--- a/modules/fnmatch
+++ b/modules/fnmatch
@@ -24,7 +24,7 @@ EXTRA_DIST += fnmatch_.h fnmatch_loop.c
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
diff --git a/modules/getopt b/modules/getopt
index 26e506ca57..8acf0fbfa2 100644
--- a/modules/getopt
+++ b/modules/getopt
@@ -24,7 +24,7 @@ EXTRA_DIST += getopt_.h getopt_int.h
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
diff --git a/modules/glob b/modules/glob
index 6d6f71cabd..8df7d5eb9b 100644
--- a/modules/glob
+++ b/modules/glob
@@ -32,7 +32,7 @@ EXTRA_DIST += glob_.h glob-libc.h
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
diff --git a/modules/inttypes b/modules/inttypes
index 5cb1e6d90b..ba71bc2f9d 100644
--- a/modules/inttypes
+++ b/modules/inttypes
@@ -32,7 +32,7 @@ inttypes.h: inttypes_.h
-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
diff --git a/modules/localcharset b/modules/localcharset
index 0fccf8f884..8075a2ca8d 100644
--- a/modules/localcharset
+++ b/modules/localcharset
@@ -61,14 +61,14 @@ uninstall-local: all-local
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
diff --git a/modules/netinet_in b/modules/netinet_in
index 9ab4a2764e..faa01d6265 100644
--- a/modules/netinet_in
+++ b/modules/netinet_in
@@ -19,7 +19,7 @@ netinet/in.h:
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
diff --git a/modules/poll b/modules/poll
index f4de479d97..87454c5c66 100644
--- a/modules/poll
+++ b/modules/poll
@@ -20,7 +20,7 @@ EXTRA_DIST += poll_.h
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
diff --git a/modules/stdbool b/modules/stdbool
index d5247fa46b..faa2501f63 100644
--- a/modules/stdbool
+++ b/modules/stdbool
@@ -20,7 +20,7 @@ EXTRA_DIST += stdbool_.h
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
diff --git a/modules/stdint b/modules/stdint
index 7ace1c069a..57abf0e479 100644
--- a/modules/stdint
+++ b/modules/stdint
@@ -47,7 +47,7 @@ stdint.h: stdint_.h
-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
diff --git a/modules/sys_select b/modules/sys_select
index 5a34721340..019b6debf4 100644
--- a/modules/sys_select
+++ b/modules/sys_select
@@ -19,7 +19,7 @@ sys/select.h:
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
diff --git a/modules/sys_socket b/modules/sys_socket
index aa869548d5..128f0cbd89 100644
--- a/modules/sys_socket
+++ b/modules/sys_socket
@@ -21,7 +21,7 @@ sys/socket.h: socket_.h
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
diff --git a/modules/sys_stat b/modules/sys_stat
index 3ee7456505..33ff8e1522 100644
--- a/modules/sys_stat
+++ b/modules/sys_stat
@@ -22,7 +22,7 @@ sys/stat.h: stat_.h
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
diff --git a/modules/sysexits b/modules/sysexits
index 20d46bd86a..c974a240a7 100644
--- a/modules/sysexits
+++ b/modules/sysexits
@@ -19,7 +19,7 @@ EXTRA_DIST += sysexit_.h
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