Message158832
| Author |
phlogistonjohn |
| Recipients |
phlogistonjohn |
| Date |
2012年04月20日.15:10:10 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1334934610.98.0.79849823228.issue14632@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| 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 |
|