KSaveFile

Julian Rockey linux at jrockey.com
Sun Feb 22 17:23:42 GMT 2004


On Sunday 22 Feb 2004 16:27, Dirk Mueller wrote:
> On Sunday 22 February 2004 17:05, Julian Rockey wrote:
> > I don't think there can be a rename race as the temp file being chmodded
> > was created by KTempFile, and has not been closed, so is still open
> > O_EXCL.
>
> sorry? what does O_EXCL have to do with the rename race? O_EXCL doesn't
> forbid renaming of the file while it is open:
Sorry, my mistake. The patch should still be correct, as I did make the 
chmod->fchmod change anyhow, in both KSaveFile and KTempFile.
cheers
Julian




More information about the kde-core-devel mailing list