summaryrefslogtreecommitdiffstats
path: root/usr.bin/grep/grep.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2015-04-30 09:20:51 +0000
committermpi <mpi@openbsd.org>2015-04-30 09:20:51 +0000
commitd6bcf78bdbc99f5411dcde1163b12ff573f66ca9 (patch)
tree72cf7b77446f3c974d397b9f40465b599f432e3e /usr.bin/grep/grep.c
parentuse adolf, not adolph, for hitler, to keep it consistent; (diff)
downloadwireguard-openbsd-d6bcf78bdbc99f5411dcde1163b12ff573f66ca9.tar.xz
wireguard-openbsd-d6bcf78bdbc99f5411dcde1163b12ff573f66ca9.zip
Indroduce fd_getfile_mode() and use it were fd_getfile() is directly
followed by a mode check. This will simplify the ref/unref dance as soon as fd_getfile() will increment fp's reference counter. Idea from and ok guenther@, ok millert@
Diffstat (limited to 'usr.bin/grep/grep.c')
0 files changed, 0 insertions, 0 deletions