]> git.ipfire.org Git - thirdparty/rrdtool-1.x.git/commit
Fix: Cannot rename temporary file to final file
authorWolfgang Stöggl <c72578@yahoo.de>
Fri, 18 Jan 2019 17:05:47 +0000 (18:05 +0100)
committerTobias Oetiker <tobi@oetiker.ch>
Sat, 19 Jan 2019 15:54:56 +0000 (16:54 +0100)
commita9671a77476b0dac171cf5ba1f9882fd66a4e038
tree9450c772c2b9d290a74d4a953437345a24ec0006
parentb65f36aa9211c7325e236a5e69f587f418c063af
Fix: Cannot rename temporary file to final file

- Fixes the following failing tests under Windows:
  modify1, modify2, modify3, modify4, modify5
- Use CreateFileA() with FILE_SHARE_DELETE in rrd_open.c,
  so that the outfilename can later be replaced by tmpfilename using
  write_rrd() in rrd_create.c
src/rrd_create.c
src/rrd_open.c