diff options
author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-02-28 17:35:48 +0100 |
---|---|---|
committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2016-02-28 17:35:48 +0100 |
commit | f4b0df7bfe0f4016bb2d3ff90f36f00b76a02f57 (patch) | |
tree | 115be160ab0118b0ce900aee55480e6e061527d1 /util.c | |
parent | 312fb51c9cc56cd9bc5dc1fb72c331b847a37eec (diff) |
sfeed_frames: fix TOCTTUO with access() and fopen()
... and use futimens() in favor of deprecated utime().
a minor difference in behaviour is now filetimes are only updated when the
file doesn't exist.
minor cleanup: remove namelen, its variable was unused (reported by cppcheck).
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions