]> granicus.if.org Git - graphviz/commit
Revert "API BREAK: change 'Agiodisc_t' output function from puts-alike to printf...
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 4 Jun 2022 15:27:27 +0000 (08:27 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Sun, 5 Jun 2022 18:28:25 +0000 (11:28 -0700)
commitabbbf44e06491b8b48df30198de18150fc0c5899
tree3ff9874e923f316fdcb260b9e637976ab2ce71d7
parente3856c816ff7b6ada9e0bfef3bcdfe2eb5383eec
Revert "API BREAK: change 'Agiodisc_t' output function from puts-alike to printf-alike"

This reverts commit 4915673bd8826641c4227bb6e32e1d759f3b1df5. This also adds a
changelog entry for this.

Commit 4915673bd8826641c4227bb6e32e1d759f3b1df5 introduced a bug where
`gvprintf` was cast and stored into an incompatible pointer type, one returning
an `int` instead of `void`. On platforms like x86-64, this coincidentally works
out with no ill effects. But on platforms like Web Assembly this prevents using
plugins containing this code.
CHANGELOG.md
cmd/gvpr/gvprmain.c
lib/cgraph/cgraph.3
lib/cgraph/cgraph.h
lib/cgraph/io.c
lib/cgraph/write.c
lib/common/output.c
lib/gvpr/compile.c
plugin/core/gvrender_core_dot.c
plugin/core/gvrender_core_json.c
tclpkg/tcldot/tcldot.c