Home
last modified time | relevance | path

Searched hist:d5fce87d7c548230591e5a50955af6532a644715 (Results 1 – 1 of 1) sorted by relevance

/freebsd/lib/libc/gen/
H A Dgetvfsbyname.cdiff d5fce87d7c548230591e5a50955af6532a644715 Tue May 21 17:59:17 CEST 2019 Alan Somers <asomers@FreeBSD.org> getvfsbyname: prefer sizeof to strlen even for constants

Clang is smart enough to evaluate strlen() of a constant at compile-time.
However, that won't work in the future if we compile libc with
-ffreestanding.

Reported by: kib
Dissenting: ngie, cem
Sponsored by: The FreeBSD Foundation