~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/signal_handler.cc

  • Committer: Andrew Hutchings
  • Date: 2010-10-10 08:28:30 UTC
  • mto: This revision was merged to the branch mainline in revision 1835.
  • Revision ID: andrew@linuxjedi.co.uk-20101010082830-nvq4ftzayiptxbn0
Fix new warnings in GCC 4.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
182
182
      if (begin && end)
183
183
      {
184
184
        begin++;
185
 
        *end= NULL;
 
185
        *end= '\0';
186
186
 
187
187
        int status;
188
188
        char *ret = abi::__cxa_demangle(begin, function, &sz, &status);
194
194
        {
195
195
          std::strncpy(function, begin, sz);
196
196
          std::strncat(function, "()", sz);
197
 
          function[sz-1] = NULL;
 
197
          function[sz-1] = '\0';
198
198
        }
199
199
        std::cerr << function << std::endl;
200
200
      }