To prevent users #including this multiple times getting compiler warnings.
Closes #1929.
- typo in pathcross #1926
- Out-of-bounds write caused by incorrect error handling of malloc in genUserdata #1928
- Offer .tar.xz files too #454
+- Header file graphviz_version.h has no include guards #1929
## [2.46.0] - 2021-01-18
BUILT_SOURCES = $(top_builddir)/graphviz_version.h
$(top_builddir)/graphviz_version.h: config.h
- $(EGREP) 'PACKAGE|VERSION|GVPLUGIN' config.h > $(top_builddir)/graphviz_version.h
+ printf '#pragma once\n' > $(top_builddir)/graphviz_version.h
+ $(EGREP) 'PACKAGE|VERSION|GVPLUGIN' config.h >> $(top_builddir)/graphviz_version.h
EXTRA_DIST = $(txt) $(html) graphviz.spec \
autogen.sh config/depcomp config/config.rpath \
+#pragma once
#define GVPLUGIN_CONFIG_FILE "config@GRAPHVIZ_PLUGIN_VERSION@"
#define GVPLUGIN_VERSION @GRAPHVIZ_PLUGIN_VERSION@
#define PACKAGE_BUGREPORT "http://www.graphviz.org/"