Across the range of platforms Graphviz runs on, this is not a reasonable
default. E.g. Windows will have none of these paths and this is not even how one
separates paths in Windows $PATH. This is mostly a latent issue, as it is very
rare for $PATH to be unset.
## [Unreleased]
+### Changed
+
+- $PATH is no longer assumed to be "/bin:/usr/bin:/usr/local/bin" if unset
+
## [2.47.1] - 2021-04-17
### Changed
{
char *bin;
- if (!(bin = getenv("PATH")) || !*bin) {
- bin = "/bin:/usr/bin:/usr/local/bin";
+ if (!(bin = getenv("PATH"))) {
+ bin = "";
}
return bin;
}