freebsd-dev/usr.bin/sed
Xin LI 8e2106f0cb Restore r312404:
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
2017-02-05 08:51:41 +00:00
..
tests Add testcases for -i with hardlinks and symlinks 2017-01-20 07:11:21 +00:00
compile.c sed(1): add LEGACY_BSDSED_COMPAT compile-time flag. 2016-11-04 20:49:59 +00:00
defs.h sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
extern.h sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
main.c Restore r312404: 2017-02-05 08:51:41 +00:00
Makefile sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00
misc.c sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
POSIX
process.c sed(1): Revert r303047 "cleanup" and therefore r303572. 2016-08-02 15:35:53 +00:00
sed.1 sed.1: Correction for the case insensitive case. 2016-05-10 17:01:51 +00:00