Corretta costruzione del nome temporaneo
git-svn-id: svn://10.65.10.50/trunk@967 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
d8fd9aa5f7
commit
bcdd621fb5
@ -667,12 +667,12 @@ const TFilename& TFilename::tempdir()
|
||||
|
||||
#ifndef FOXPRO
|
||||
|
||||
TString user = TApplication::user();
|
||||
|
||||
user.lower();
|
||||
if (res == 0 && user.not_empty())
|
||||
if (res == 0)
|
||||
{
|
||||
if (_tempdir.find(user) < 0)
|
||||
TString16 user(TApplication::user());
|
||||
|
||||
user.lower();
|
||||
if (_tempdir.find(user) != _tempdir.len() - user.len())
|
||||
#if XVT_OS==XVT_OS_SCOUNIX
|
||||
_tempdir << '/' << user;
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user