﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
50	Reconsider implementation of QString QDir::canonicalPath()	rudi	dmik	"The current implementation temporary changes the current directory. This can lead to problems in a multithreaded environment. Suggested workaround:


{{{

QString QDir::canonicalPath() const
{
  QString r;
  char tmp[PATH_MAX];

  if( DosQueryPathInfo( QFile::encodeName( dPath ),
                    FIL_QUERYFULLNAME, tmp, sizeof(tmp) ) == 0 )
    r = QFile::decodeName( tmp );
  else
    r = dPath;

  slashify( r );
  return r;
}

}}}

"	defect	assigned	normal		3rdparty		normal			
