job.cpp

Daniel Molkentin molkentin at kde.org
Mon Sep 6 11:30:10 BST 2004


On Monday 06 September 2004 13:09, Jarosław Staniek wrote:
> In QFile *CacheInfo::cachedFile(), shouldn't we have
>
> fopen(QFile::encodeName(CEF), mode)
>
> instead of fopen(CEF.latin1(), mode)?
> The same question goes for unlink().

Yes, please go ahead. This was either introduced after I went through the code 
with search and replace (quite some time ago) or I missed it.

Reasoning for the curious: That holds true for all situations where file names 
need to be converted to local8bit. encodeName() knows the correct one.

Cheers,
  Daniel





More information about the kde-core-devel mailing list