I'm installing these patches to use the new isatty module (thanks
Bruno) and simplify the separation between POSIX and Windows
implementations of colorize. In particular, there's no reason to
have two headers for the same interface, especially if it's not
performance critical at all.
Paolo Bonzini (3):
colorize: use isatty module
unify colorize.h headers
remove lib/ms/
.gitignore | 3 ++
bootstrap.conf | 1 +
cfg.mk | 4 +--
configure.ac | 6 ++--
gnulib | 2 +-
lib/Makefile.am | 2 +-
lib/{colorize-impl.c => colorize-posix.c} | 29 ++++++++++++++++++++-------
lib/{ms/colorize-impl.c => colorize-w32.c} | 22 ++++++--------------
lib/colorize.c | 1 -
lib/colorize.h | 23 +++------------------
lib/ms/colorize.h | 4 ---
src/Makefile.am | 1 -
src/main.c | 2 +-
13 files changed, 43 insertions(+), 57 deletions(-)
rename lib/{colorize-impl.c => colorize-posix.c} (65%)
rename lib/{ms/colorize-impl.c => colorize-w32.c} (92%)
delete mode 100644 lib/colorize.c
delete mode 100644 lib/ms/colorize.h
--
1.7.7.1