f30b77c116
gcc-10 warns that if immediate_directories were very large, the sprintf result would be truncated. This is true, but a user is extremely unlikely to have enough directories to trigger this code path. Handle the warning by explicitly returning an empty string if truncation would otherwise occur. This is not strictly correct, but it can be handled with very little code, eliminates the warning, and is unlikely to matter in practice. |
||
---|---|---|
.. | ||
2d | ||
3d | ||
arch | ||
editor | ||
main | ||
misc |