1. 25 Nov, 2009 38 commits
  2. 24 Nov, 2009 2 commits
    • Andreas Fritiofson's avatar
      improve alloc_vprintf · 338a674f
      Andreas Fritiofson authored
      The previous implementation was unnecessarily complex. Get rid of the loops,
      let vsnprintf() tell us directly how much storage we need and allocate that. A
      second pass writes the actual string. Also add a va_end() that was missing.
      This should be much faster for large strings and less wasteful for small ones.
      A quirk that has been retained is that some callers patch in a newline at the
      end of the returned string and depend on alloc_vprintf to allocate at least
      one byte extra.
      Signed-off-by: default avatarAndreas Fritiofson <andreas.fritiofson@gmail.com>
      Signed-off-by: default avatarZachary T Welch <zw@superlucidity.net>
    • Zachary T Welch's avatar
      fix doxygen build · 5507b5f4
      Zachary T Welch authored
      Update build rules to skip the PDF unless the TeX has been created.
      Also, fixes a warning regarding pattern rules being a GNU make trick.