Changeset 1b6275 in git


Ignore:
Timestamp:
Sep 16, 2014, 1:54:29 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
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.