Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 37 lines (26 sloc) 1.089 kb
f4972c1 @meyering Merge from coreutils: New file.
meyering authored
1 /* Like stdlib.h, but redefine some names to avoid glitches.
2
d60f3b0 maint: update almost all copyright ranges to include 2011
Jim Meyering authored
3 Copyright (C) 2005-2007, 2009-2011 Free Software Foundation, Inc.
f4972c1 @meyering Merge from coreutils: New file.
meyering authored
4
57fdfd3 @bhaible Change copyright notice from GPLv2+ to GPLv3+.
bhaible authored
5 This program is free software: you can redistribute it and/or modify
f4972c1 @meyering Merge from coreutils: New file.
meyering authored
6 it under the terms of the GNU General Public License as published by
57fdfd3 @bhaible Change copyright notice from GPLv2+ to GPLv3+.
bhaible authored
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
f4972c1 @meyering Merge from coreutils: New file.
meyering authored
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
57fdfd3 @bhaible Change copyright notice from GPLv2+ to GPLv3+.
bhaible authored
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
f4972c1 @meyering Merge from coreutils: New file.
meyering authored
17
18 /* Written by Paul Eggert. */
19
20 #include <stdlib.h>
21 #include "stdlib-safer.h"
22
23 #undef mkstemp
24 #define mkstemp mkstemp_safer
8271e7f stdlib-safer: wrap all mkstemp variants
Eric Blake authored
25
26 #if GNULIB_MKOSTEMP
27 # define mkostemp mkostemp_safer
28 #endif
29
30 #if GNULIB_MKOSTEMPS
31 # define mkostemps mkostemps_safer
32 #endif
33
34 #if GNULIB_MKSTEMPS
35 # define mkstemps mkstemps_safer
36 #endif
Something went wrong with that request. Please try again.