mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
36768b5756
On Linux systems, glob automatically ignores the errors ENOENT and ENOTDIR because they are expected during glob expansion. But BSD systems do not ignore these, resulting in glob failing when globs expand to invalid paths. This is fixed by adding a custom error handler that ignores only these two errors and removing the GLOB_ERR flag as it makes glob fail even if the error handler ignores the error and is unnecessary as the error handler will make glob fail on all other errors anyway.
5 lines
207 B
Plaintext
5 lines
207 B
Plaintext
o Minor bugfixes (configuration tests bsd):
|
|
- Fix glob processing errors when globs expand to invalid paths on
|
|
BSD systems. Fixes bug 40318; bugfix on 0.4.5.1-alpha. Patch by
|
|
Daniel Pinto.
|