Changeset 1b6275 in git for libpolys/reporter


Ignore:
Timestamp:
Sep 16, 2014, 1:54:29 PM (10 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
a12d11c1f4feecde9f7e35741204b97624c3fea3
Parents:
9ee58600ea602eefc9da288c53b6bd382fe6dc4f
Message:
fix: vsprintf ->vsnprintf if possible
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/reporter/reporter.cc

    r9ee586 r1b6275  
    240240  va_start(ap, fmt);
    241241  char *s=(char *)omAlloc(256);
     242#ifdef HAVE_VSNPRINTF
     243  vsnprintf(s, 256, fmt, ap);
     244#else
    242245  vsprintf(s, fmt, ap);
     246#endif
    243247  WarnS(s);
    244248  omFreeSize(s,256);
Note: See TracChangeset for help on using the changeset viewer.