projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ANSI C comment style.
[gnulib.git]
/
lib
/
mkstemp-safer.c
diff --git
a/lib/mkstemp-safer.c
b/lib/mkstemp-safer.c
index
5ae3413
..
c8c5bbd
100644
(file)
--- a/
lib/mkstemp-safer.c
+++ b/
lib/mkstemp-safer.c
@@
-1,6
+1,6
@@
/* Invoke mkstemp, but avoid some glitches.
/* Invoke mkstemp, but avoid some glitches.
- Copyright (C) 2005 Free Software Foundation, Inc.
+ Copyright (C) 2005
, 2006
Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-18,20
+18,18
@@
/* Written by Paul Eggert. */
/* Written by Paul Eggert. */
-#ifdef HAVE_CONFIG_H
-# include <config.h>
-#endif
+#include <config.h>
#include "stdlib-safer.h"
#include "stdlib-safer.h"
-#include
<stdlib.h>
+#include
"mkstemp.h"
#include "unistd-safer.h"
/* Like mkstemp, but do not return STDIN_FILENO, STDOUT_FILENO, or
STDERR_FILENO. */
int
#include "unistd-safer.h"
/* Like mkstemp, but do not return STDIN_FILENO, STDOUT_FILENO, or
STDERR_FILENO. */
int
-mkstemp_safer (char *templ
ate
)
+mkstemp_safer (char *templ)
{
{
- return fd_safer (mkstemp (templ
ate
));
+ return fd_safer (mkstemp (templ));
}
}