summaryrefslogtreecommitdiff
path: root/build-aux/gl/lib/clean-temp.c.diff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2013-09-22 09:13:35 +0700
committerGary V. Vaughan <gary@gnu.org>2013-09-22 09:13:35 +0700
commit0cf73963cbcea634d2f854b27910af7587cbf44d (patch)
treec42868ed663a3115475d94b8b78f58e92fcfab90 /build-aux/gl/lib/clean-temp.c.diff
parentae436983cbae0afe4c8c07f9d65f89e6d446827a (diff)
downloadm4-0cf73963cbcea634d2f854b27910af7587cbf44d.tar.gz
configury: move local gnulib patches to build-aux subdirectory.
* gl: Move from here... * build-aux/gl: ...to here. * ltdl/m4/gnulib-cache.m4: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
Diffstat (limited to 'build-aux/gl/lib/clean-temp.c.diff')
-rw-r--r--build-aux/gl/lib/clean-temp.c.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/build-aux/gl/lib/clean-temp.c.diff b/build-aux/gl/lib/clean-temp.c.diff
new file mode 100644
index 00000000..2eafde69
--- /dev/null
+++ b/build-aux/gl/lib/clean-temp.c.diff
@@ -0,0 +1,14 @@
+diff --git i/lib/clean-temp.c w/lib/clean-temp.c
+index 40ec02f..1053312 100644
+--- i/lib/clean-temp.c
++++ w/lib/clean-temp.c
+@@ -582,6 +582,9 @@ static bool
+ supports_delete_on_close ()
+ {
+ static int known; /* 1 = yes, -1 = no, 0 = unknown */
++ /* M4 wants to close and later reopen a temporary file, so
++ delete-on-close must not be used. */
++ known = -1;
+ if (!known)
+ {
+ OSVERSIONINFO v;