Commit Graph
3 Commits
Author SHA1 Message Date
omrzk dc90e93812 Document that which() skips empty PATH components
An empty component in PATH, from a leading, trailing, or doubled colon,
means the current directory to execvp() and the shell.  which() has
always skipped them, but nothing said so, or kept it that way.

Say so in the API description and add tests for it.  A caller that
wants the current directory searched must list it, e.g., as ".".

Closes #27
2026-11-16 14:22:40 +01:00
Joachim Wiberg ef4a8691d3 test: fix build warnings for most tests
Let rsync.c continue to warn, it's not complete ...

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-10-03 12:22:33 +02:00
Joachim Wiberg c9633ffbb0 Rename tests/ -> test/ and update internal refs.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2021-10-03 12:22:33 +02:00