[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to m4/m4/debug.c,v
From: |
Eric Blake |
Subject: |
Changes to m4/m4/debug.c,v |
Date: |
Tue, 22 Aug 2006 22:36:29 +0000 |
CVSROOT: /sources/m4
Module name: m4
Changes by: Eric Blake <ericb> 06/08/22 22:36:28
Index: m4/debug.c
===================================================================
RCS file: /sources/m4/m4/m4/debug.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- m4/debug.c 9 Aug 2006 21:33:24 -0000 1.21
+++ m4/debug.c 22 Aug 2006 22:36:28 -0000 1.22
@@ -154,6 +154,9 @@
if (fp == NULL)
return false;
+ if (set_cloexec_flag (fileno (fp), true) != 0)
+ m4_error (context, 0, errno,
+ _("cannot protect debug file across forks"));
set_debug_file (context, fp);
}
return true;