• Alessandro Rubini's avatar
    diag.c: honor DIAG_PUTS if provided · feb5ed39
    Alessandro Rubini authored
    if the user passes "-DDIAG_PUTS=sth~ in USER_CFLAGS at build time, al
    diagnostic messages are directed to this special puts (through sprintf
    to a local buffer) instead of going to the normal printf (and thus the
    default puts).
    
    This is going to be used by wrpc-sw, to leave the default output channel
    clean for the user shell.
    
    Unfortunately, frame dumps cannot go to this special puts, as
    lib/dump-funcs.c just call printf and I don't know how to fix that
    without a massive change in the code.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    feb5ed39
Name
Last commit
Last update
arch-bare-i386 Loading commit data...
arch-bare-x86-64 Loading commit data...
arch-gnu-linux Loading commit data...
arch-wrpc Loading commit data...
doc Loading commit data...
etc Loading commit data...
include/ppsi Loading commit data...
lib Loading commit data...
lib-bare Loading commit data...
pp_printf Loading commit data...
proto-ext-whiterabbit Loading commit data...
proto-standard Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
COPYING.LIB Loading commit data...
MAKEALL Loading commit data...
Makefile Loading commit data...
diag.c Loading commit data...
fsm.c Loading commit data...