Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Mar 26, 2011
  1. LICENSE: Simplified BSD

Commits on Mar 25, 2011
  1. msg: make format arg last named argument

    A call like the following will look a bit strange to readers
    expecting a printf-like sequence:
        vmsg("pre%fix", "the %s string", "suf%fix", "format");
    It may be easier to understand if the prefix and the suffix come
        vmsg("pre%fix", "suf%fix", "the %s string", "format");
    Done that way, readers might be able to visually "skip over" the
    first two paramters and read the rest as a printf-like sequence
    (format string, then values).
  2. msg: %-double prefix

    All the existing callers use literal strings without any percent
    characters, but we should protect against future callers including
    a percent in the prefix string, too.
  3. msg: make vmsg and vfmsg declarations match implementation

    The 'suf' parameter was a late addition to the msg implementation.
    I forgot to add it to the declarations in the header file.
    Include msg.h in msg.c so the compiler will flag any future
Commits on Mar 24, 2011
  1. wrapper: extract die, etc. into msg.c

    These functions will be reused shortly in the test program.
    Replace the hacky die_errno macro with a proper function.
Something went wrong with that request. Please try again.