1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/usr.bin/grep
tedu 6ec3986fe5 convert fgetln to getline. this improves portability and sets a good
better example for other code to follow. in the common case, grep uses
mmap anyway (so no functional change). despite fgetln doing sneaky things
with stdio internals, preliminary analysis by lauri suggests this may
actually reduce the number of allocations.
from Lauri Tirkkonen.
2019-01-31 01:30:46 +00:00
..
binary.c
file.c convert fgetln to getline. this improves portability and sets a good 2019-01-31 01:30:46 +00:00
grep.1 - add max-count to SYNOPSIS 2017-12-10 09:17:24 +00:00
grep.c convert fgetln to getline. this improves portability and sets a good 2019-01-31 01:30:46 +00:00
grep.h rework grep_open to be more careful about directories. 2019-01-23 23:00:54 +00:00
Makefile for some time now mandoc has not required MLINKS to function 2016-03-30 06:38:40 +00:00
mmfile.c mmap support was broken in previous submitted diff from lauri tirkkonen 2019-01-27 14:43:09 +00:00
queue.c
util.c rework grep_open to be more careful about directories. 2019-01-23 23:00:54 +00:00