support utils::guesspath() also on Windows

This commit is contained in:
Axel Kohlmeyer
2021-09-08 18:17:14 -04:00
parent b87a48e40b
commit 9cdb83a24d
3 changed files with 21 additions and 2 deletions

View File

@ -408,7 +408,7 @@ namespace utils {
/*! Try to detect pathname from FILE pointer.
*
* Currently only supported on Linux and macOS, otherwise will report "(unknown)".
* Currently supported on Linux, macOS, and Windows, otherwise will report "(unknown)".
*
* \param buf storage buffer for pathname. output will be truncated if not large enough
* \param len size of storage buffer. output will be truncated to this length - 1