fix incorrect comment

xextension() uses xmemrchr to find '.'
This commit is contained in:
NRK 2022-06-01 19:42:29 +06:00
parent b9a1f1747f
commit 2df0cbd08b

View file

@ -1033,7 +1033,7 @@ static inline bool is_prefix(const char *restrict str, const char *restrict pref
/*
* The poor man's implementation of memrchr(3).
* We are only looking for '/' in this program.
* We are only looking for '/' and '.' in this program.
* And we are NOT expecting a '/' at the end.
* Ideally 0 < n <= xstrlen(s).
*/