]> granicus.if.org Git - graphviz/commit
replace various SFIO to stderr with C stdio
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 25 Apr 2022 00:16:12 +0000 (17:16 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 28 Apr 2022 14:35:30 +0000 (07:35 -0700)
commitc24d86977b1c580b4daafd0eeb3eb81dbffb230b
tree77833deb7e08c50ce2b968199f2fb56c38fedbc8
parentab29631a90b70163ceb8f28ca3be782b8dcfe74c
replace various SFIO to stderr with C stdio

While it is technically possible to replace the `sfstderr` stream with something
other than stderr or use an SFIO-specific format specifier (e.g. `%!`), nothing
in Graphviz permits this. Thus we know all these instances are actually just
doing basic output to stderr. By replacing them with C stdio, they are more
transparent to the compiler and can be implemented more efficiently.

Gitlab: #1998
lib/ast/error.c
lib/gvpr/gvpr.c