summaryrefslogtreecommitdiff
path: root/build-aux/gl/lib/clean-temp.c.diff
diff options
context:
space:
mode:
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;