瀏覽代碼

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 年之前
父節點
當前提交
33620cfc4d
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);
     }