Skip to content

Fix printf calls embedding preprocessor directives

Paolo Bonzini qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4qemu-img: avoid preprocessor directives in a printf callqemu-img.c+5 -40 replies
2/4cope with printf macro definition in readline.creadline.c+1 -00 replies
3/4do not interpolate % from vl.c to qemu-options.hqemu-options.hx vl.c+7 -130 replies
4/4vl.c: avoid preprocessor directives in a printf callqemu-options.hx vl.c+12 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/4] Fix printf calls embedding preprocessor directives

Patch 1 is the same I sent earlier. Patches 2 and 3/4 fix the other two problems by Sheng (tip: next time use "make -k" and report all problems in a single message).

Paolo Bonzini (4):
qemu-img: avoid preprocessor directives in a printf call cope with printf macro definition in readline.c do not interpolate % from vl.c to qemu-options.h vl.c: avoid preprocessor directives in a printf call

 qemu-img.c      |    9 +++++----
 qemu-options.hx |   15 ++++++++-------
 readline.c      |    1 +
 vl.c            |   23 +++++++++--------------
 4 files changed, 23 insertions(+), 25 deletions(-)