HomeFreeBSD

Use S_ISREG instead of manual & (also it's better to compare the

Description

Use S_ISREG instead of manual & (also it's better to compare the
result from & and the pattern instead of just assuming it's one bit
value).

Pointed out by Tianjie Mao <tjmao tjmao com>.

MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D4827

Details

Provenance
delphijAuthored on
Differential Revision
D4827: sed: Use S_ISREG.
Parents
rS312403: MFC r293040,293341,293435:
Branches
Unknown
Tags
Unknown