Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> writes:
> When rotation happens, the metainfo file is once removed then
> created. If slurp_file in the metafile-checking loop hits the gap, the
> slurp_file fails with ENOENT.
Oh! Yeah, that's dumb, we should fix it to use rename(). Can't blame
platform's rename() if it's not being used.
regards, tom lane