Another attempt to get the tagging check to work

Signed-off-by: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1929 from richardkchapman/tagging

Another attempt to get the tagging check to work

Reviewed-by: Gavin Halliday <ghalliday@hpccsystems.com>
Fix useradd.html and groupadd.html

The existing useradd.html and groupadd.html still point
to ws_lnaccess which is not correct.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>
Memory leaks in LDAP calls to ldap_search_ext_s()

Numerous error paths, and several other normal execution paths in the
LDAP code that calls ldap_search_ext_s() leak the allocated LDAPMessage
structure. Several of these paths are executed frequently and could
eventually consume a lot of memory, even in non-error conditions.

Signed-off-by: William Whitehead <william.whitehead@lexisnexis.com>
gh1888 Fix ecl run error output

Errors should include line/col/filename information formatted
similarly to the way eclcc outputs errors.

Fixes gh-1888

Signed-off-by: Anthony Fishbeck <Anthony.Fishbeck@lexisnexis.com>
Fix problem with constant folding inline tables

In unusual cicumstances (see associated example file klogermann21.ecl)
selectors were being replaced inside nested operators which were
applied to the same dataset.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Merge pull request #1938 from wangkx/fix_useradd_groupadd_html

Fix useradd.html and groupadd.html

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1933 from wangkx/fix_useradd_groupadd_html

Fix useradd.html and groupadd.html

Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1892 from rengolin/promote-super

Promote Super-File refactor

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1923 from RussWhitehead/ldap

Memory leaks in LDAP calls to ldap_search_ext_s()

Reviewed-By: Jake Smith <jake.smith@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Merge pull request #1919 from garonsky/issue1451-cluster-names-are-unique

Modify configmr to prevent dupe Clusters names

Reviewed-By: Sridhar Meda <sridhar.meda@lexisnexis.com>
Reviewed-By: Richard Chapman <rchapman@hpccsystems.com>
Roxiemem refactor: optimize fixed and variable rows

- clean up calls to roundup
- Introduced fixed size heaps that can be created on demand
- improve the test cases
  - Test the destructor is being called correctly
  - Add a variable size test
  - Add a simple speed test for the roundup function
- Support for multiple variable size heaps
- Slight optimization of roundup()

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
roxiemem add new atomic operation

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
roxiemem fix regression in fixed allocators

- If a rowallocator outlived the rowmanager the system could crash
  when the fixed heap tried to unregister itself.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
roxiemem change where the row destruct bit is stored

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
roxiemem normal heaps restricted to a single size

- Ensure that each variable size record bin is mapped to a unique
  allocator
- Move the chunkSize information into the heap - each heap (except for
  the huge heap) now only contains heaplets of a single size.
- Consistently use chunkCapacity for amount of space available to the
  user, and chunkSize for the size including any overhead.
- Prepare for packed row allocators.

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
roxiemem support for packed fixed size allocators

packed allocators have the following characteristics
- they are unique to the activityid
- the sizes are 4 byte aligned, not rounded up
- the overhead per row is 4 bytes instead of 8

Cleanup/improve code for memstats function

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
roxiemem - improve bitmap processing code

- Clean up various items highlighted by previous code reviews
- Change activityIds to allocatorIds to make distinction clearer
- Use get_cycles_now instead of time, and avoid calling if not
  needed.
- Move the critical section in the bitmap code to reduce scope

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
roxiemem Add heapHWM for large allocations, and test pages>1

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>
Initial work on roxiemem callbacks etc

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>