Commit
83eea6075b8f4746d632a792b1d1b97c19797acb altered the calling convention
of `errorv`, but failed to take into account that the local variable `s` was
being used for something else prior to its use as the first unpacked parameter.
Following this commit, the first parameter was being discarded as `s` was
overwritten with `error_info.id` or `id`.
This fix restores the previous behavior.
- Gvedit on macOS now understands the `-?` help command line argument
- CMAKE_LIBRARY_PATH is not honored #1973
- assert failure with `nslimit1=0` #1902
+- `gvpr` usage output has been restored. This was a regression in Graphviz
+ 2.46.0.
## [2.50.0] – 2021-12-04
flags = level & ~ERROR_LEVEL;
level &= ERROR_LEVEL;
}
- if (level && ((s = error_info.id) || (s = id))) {
+ const char *prefix;
+ if (level && ((prefix = error_info.id) || (prefix = id))) {
if (flags & ERROR_USAGE)
- sfprintf(sfstderr, "Usage: %s ", s);
+ sfprintf(sfstderr, "Usage: %s ", prefix);
else
- sfprintf(sfstderr, "%s: ", s);
+ sfprintf(sfstderr, "%s: ", prefix);
}
if (flags & ERROR_USAGE)
/*nop */ ;
_, _ = run_c(src, cflags=cflags)
-@pytest.mark.xfail(strict=True) # FIXME
@pytest.mark.skipif(shutil.which("gvpr") is None, reason="gvpr not available")
def test_gvpr_usage():
"""