Changeset 3f5086 in git


Ignore:
Timestamp:
Sep 30, 2010, 8:51:47 PM (14 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'b52fc4b2495505785981d640dcf7eb3e456778ef')
Children:
84dda10e7c43a6aa968e529b71d68fa020e56a79
Parents:
49a64cf3866667ef2b1dca559f7d269fbccd0965
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2010-09-30 20:51:47+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:55:31+01:00
Message:
Fixing omalloc usage in release version
Location:
reporter
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • reporter/dError.c

    r49a64cf r3f5086  
    3333  fprintf(stderr, "\n// ***dError: ");
    3434  vfprintf(stderr, fmt, ap);
    35 #if 0
    36     if !defined(OM_NDEBUG) && defined(HAVE_CONFIG_H)
    37 #endif
    38 #if  defined(HAVE_CONFIG_H)
     35#if (!defined(NDEBUG)) && (!defined(OM_NDEBUG)) && defined(HAVE_CONFIG_H)
    3936  fprintf(stderr, " occured at: \n");
    4037  omPrintCurrentBackTraceMax(stderr, 8);
  • reporter/reporter.cc

    r49a64cf r3f5086  
    2222
    2323#include "reporter.h"
    24 #include "omalloc.h"
     24#include <omalloc.h>
    2525//#include "options.h"
    2626
     
    6363    feBuffer=(char *)omReallocSize((void *)feBuffer,feBufferLength,
    6464                                                     more);
     65#if (!defined(NDEBUG)) && (!defined(OM_NDEBUG)) && defined(HAVE_CONFIG_H)
    6566    omMarkAsStaticAddr(feBuffer);
     67#endif
    6668    feBufferLength=more;
    6769    s=feBuffer+l;
Note: See TracChangeset for help on using the changeset viewer.