Print this page
cleanup

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/dump/common/dump.c
          +++ new/usr/src/cmd/sgs/dump/common/dump.c
↓ open down ↓ 470 lines elided ↑ open up ↑
 471  471                  ndx++;
 472  472          }
 473  473  }
 474  474  
 475  475  /* demangle C++ names */
 476  476  static char *
 477  477  demangled_name(char *s)
 478  478  {
 479  479          static char     *buf = NULL;
 480  480          size_t          buflen = 0;
 481      -        const char      *dn;
      481 +        char            *dn;
 482  482          size_t          len;
 483  483  
 484      -        dn = conv_demangle_name(s);
      484 +        dn = (char *)conv_demangle_name(s);
 485  485  
 486  486          /*
 487  487           * If not demangled, just return the symbol name
 488  488           */
 489  489          if (dn == s)
 490  490                  return (s);
 491  491  
 492  492          len = strlen(dn) + strlen(s) + 4;
 493  493  
 494  494          if (buflen < len) {
↓ open down ↓ 1641 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX