Print this page
Rich's feedback

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libsysdemangle/common/util.c
          +++ new/usr/src/lib/libdemangle/common/util.c
↓ open down ↓ 8 lines elided ↑ open up ↑
   9    9   * http://www.illumos.org/license/CDDL.
  10   10   */
  11   11  
  12   12  /*
  13   13   * Copyright 2017 Jason King
  14   14   */
  15   15  
  16   16  #include <sys/debug.h>
  17   17  #include <stdlib.h>
  18   18  #include <string.h>
  19      -#include "sysdemangle.h"
  20      -#include "sysdemangle_int.h"
       19 +#include "demangle-sys.h"
       20 +#include "demangle_int.h"
  21   21  
  22   22  void *
  23   23  zalloc(sysdem_ops_t *ops, size_t len)
  24   24  {
  25   25          void *p = ops->alloc(len);
  26   26  
  27   27          if (p != NULL)
  28   28                  (void) memset(p, 0, len);
  29   29  
  30   30  #ifdef DEBUG
↓ open down ↓ 55 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX