m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/src/output.c [branch-1_4]


From: Gary V . Vaughan
Subject: Changes to m4/src/output.c [branch-1_4]
Date: Thu, 03 Feb 2005 10:21:08 -0500

Index: m4/src/output.c
diff -u m4/src/output.c:1.1.1.1.2.2 m4/src/output.c:1.1.1.1.2.3
--- m4/src/output.c:1.1.1.1.2.2 Sat Aug 21 11:16:04 2004
+++ m4/src/output.c     Thu Feb  3 15:21:06 2005
@@ -1,6 +1,6 @@
 /* GNU m4 -- A simple macro processor
 
-   Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2004 Free
+   Copyright (C) 1989, 1990, 1991, 1992, 1993, 1994, 2004, 2005 Free
    Software Foundation, Inc.
   
    This program is free software; you can redistribute it and/or modify
@@ -102,8 +102,6 @@
   output_unused = 0;
 }
 
-#ifndef HAVE_TMPFILE
-
 #ifndef HAVE_MKSTEMP
 
 /* This implementation of mkstemp(3) does not avoid any races, but its
@@ -111,7 +109,7 @@
 
 #include <fcntl.h>
 
-static int
+int
 mkstemp (const char *tmpl)
 {
   mktemp (tmpl);
@@ -120,6 +118,8 @@
 
 #endif /* not HAVE_MKSTEMP */
 
+#ifndef HAVE_TMPFILE
+
 /* Implement tmpfile(3) for non-USG systems.  */
 
 static FILE *




reply via email to

[Prev in Thread] Current Thread [Next in Thread]