bug-gnulib
[Top][All Lists]
Advanced

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

Re: C++ support (5)


From: Eric Blake
Subject: Re: C++ support (5)
Date: Wed, 1 Nov 2006 16:48:16 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Eric Blake <ebb9 <at> byu.net> writes:

> 
> On Linux, a c++ compile failed to pick up that the system mkstemp was 
adequate, 
> due to misuse of a keyword.  I'm checking this in.

And this followup to mkstemp-safer.

2006-11-01  Eric Blake  <address@hidden>

        * lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation.

Index: lib/mkstemp-safer.c
===================================================================
RCS file: /sources/gnulib/gnulib/lib/mkstemp-safer.c,v
retrieving revision 1.7
diff -u -r1.7 mkstemp-safer.c
--- lib/mkstemp-safer.c 20 Sep 2006 20:16:48 -0000      1.7
+++ lib/mkstemp-safer.c 1 Nov 2006 16:46:41 -0000
@@ -29,7 +29,7 @@
    STDERR_FILENO.  */
 
 int
-mkstemp_safer (char *template)
+mkstemp_safer (char *templ)
 {
-  return fd_safer (mkstemp (template));
+  return fd_safer (mkstemp (templ));
 }







reply via email to

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