Hi,

please consider fixing rmt_write function:

  rmt_write (const char *fmt, ...)
  {
    va_list ap;
    va_start (ap, fmt);
    vfprintf (stdout, fmt, ap);
    // missing va_end
    fflush (stdout);
    VDEBUG (10, "S: ", fmt, ap);
    // potential re-use of 'ap' (requires new va_start)
  }

the first issue is not a problem in GNU/Linux GCC/Glibc ecosystem, but
still it seems to be good candidate for fix for compatibility.

Pavel




Reply via email to