KDE/kdevelop/plugins/appwizard

Andreas Pakulat apaku at gmx.de
Tue Jun 17 14:49:00 UTC 2008


On 17.06.08 18:09:41, Evgeniy Ivanov wrote:
> Andreas Pakulat wrote:
> > On 17.06.08 15:21:27, Evgeniy Ivanov wrote:
> > If you look closer you'll see that the tdir is only used when unpacking
> > files and the reason is that the files need to have some macro replacing
> > done on them. And to not have to read this file more than once after
> > unpacking, the macro expansion is done during copying the file (that
> > reminds me, copyFile isn't the best name for that function). Also the
> > tempdir allows for easier removal of the initial unpacked files (which
> > need macro expansion on their content and name), because I can just
> > unlink the whole directory instead of deleting the un-expanded files
> > individually.
> >
> Andreas, got you. Now I see it's better first to ask about such things 
> than to commit bad comments. Removed.

Not all your fault. In this case a comment about the extra tempdir is
not so bad an idea. I've added it now.

Andreas

-- 
Your true value depends entirely on what you are compared with.




More information about the KDevelop-devel mailing list