Merge branch 'V5-6-patches' into V5-7-patches

* V5-6-patches:
  PATCH #1279: Modified patch from Mohan for coredump after calling free with a bad regex.
  BUG #2521: AIX: dont die when CPU is dynamically added to system.
  Complain about -D option if debugging is disabled.