Message158832
I'm attaching a patch of an emit function implementation that reduces the number of stats and uses fstat were we can. Using fstat should also prevent any races between opening the new file and stating the path in the file system.
Using this patch or something along these lines should avoid the time of check to time of use issues with the current version with repeated stat calls. |
|
Date |
User |
Action |
Args |
2012-04-20 15:10:11 | phlogistonjohn | set | recipients:
+ phlogistonjohn |
2012-04-20 15:10:10 | phlogistonjohn | set | messageid: <1334934610.98.0.79849823228.issue14632@psf.upfronthosting.co.za> |
2012-04-20 15:10:10 | phlogistonjohn | link | issue14632 messages |
2012-04-20 15:10:10 | phlogistonjohn | create | |
|