projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
autoupdates
[pspp]
/
lib
/
mkstemp-safer.c
diff --git
a/lib/mkstemp-safer.c
b/lib/mkstemp-safer.c
index 95d315b030bdacc62a3543c5e6f09c31289450a6..47d3b2c614dfa59b182e32f5b0de1241bdcb03e5 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
, 2006, 2007, 2009
Free Software Foundation, Inc.
+ Copyright (C) 2005
-2007, 2009-2010
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
@@
-39,7
+39,7
@@
mkstemp_safer (char *templ)
int
mkostemp_safer (char *templ, int flags)
{
int
mkostemp_safer (char *templ, int flags)
{
- return fd_safer
(mkostemp (templ, flags)
);
+ return fd_safer
_flag (mkostemp (templ, flags), flags
);
}
#endif
}
#endif
@@
-49,7
+49,7
@@
mkostemp_safer (char *templ, int flags)
int
mkostemps_safer (char *templ, int suffixlen, int flags)
{
int
mkostemps_safer (char *templ, int suffixlen, int flags)
{
- return fd_safer
(mkostemps (templ, suffixlen, flags)
);
+ return fd_safer
_flag (mkostemps (templ, suffixlen, flags), flags
);
}
#endif
}
#endif