瀏覽代碼

Merge pull request #14036 from jakesmith/hpcc-24521

HPCC-24521 Fix hpcc-23483 regression

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Merged-by: Gavin Halliday <ghalliday@hpccsystems.com>
Gavin Halliday 4 年之前
父節點
當前提交
eb18c35980
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      dali/base/dasds.cpp

+ 5 - 1
dali/base/dasds.cpp

@@ -1756,7 +1756,11 @@ void buildNotifyData(MemoryBuffer &notifyData, PDState state, CPTStack *stack, M
                 if (0 == pos) // common case
                     notifyData.append(3, "[1]");
                 else
-                    notifyData.append('[').append(pos+1).append(']');
+                {
+                    char temp[12];
+                    unsigned written = numtostr(temp, pos+1);
+                    notifyData.append('[').append(written, temp).append(']');
+                }
                 parent = &child;
                 s++;
                 if (s<n)