소스 검색

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);
     }