Browse Source

HPCC-12000 CDfsLogicalFileName::set,removeForeign broken.

Regression introduced by HPCC-11571.
Was causing set DFLN to become blank.

Signed-off-by: Jake Smith <jake.smith@lexisnexis.com>
Jake Smith 11 years ago
parent
commit
33620cfc4d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dali/base/dautils.cpp

+ 1 - 1
dali/base/dautils.cpp

@@ -532,7 +532,7 @@ void CDfsLogicalFileName::set(const char *name, bool removeForeign)
     normalizeName(name, lfn, false);
     if (removeForeign)
     {
-        const char *_lfn = get(true);
+        StringAttr _lfn = get(true);
         lfn.clear();
         lfn.set(_lfn);
     }