diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-04-15 13:52:26 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2013-04-15 13:53:35 +0530 |
commit | 206a6699116215c591c8562c67106f7e17146608 (patch) | |
tree | 17edd62cc928c0f362ec36cefb86b584536195b3 /nscd/pwdcache.c | |
parent | nscd: don't fork twice (diff) | |
download | glibc-206a6699116215c591c8562c67106f7e17146608.tar.gz glibc-206a6699116215c591c8562c67106f7e17146608.tar.bz2 glibc-206a6699116215c591c8562c67106f7e17146608.zip |
Write to bench.out-tmp only once
Appending benchmark program output on every run could result in a case
where the benchmark run was cancelled, resulting in a partially
written file. This file gets used again on the next run, resulting in
results being appended to old results.
It could have been possible to remove the file before every benchmark
run, but it is easier to just write the output to bench.out-tmp only
once.
Diffstat (limited to 'nscd/pwdcache.c')
0 files changed, 0 insertions, 0 deletions