diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-04-30 09:20:52 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-04-30 09:20:52 +0000 |
commit | e7f70a3af3ca9e313253a67e955e8584211e225d (patch) | |
tree | ea325c8db4fe08ed7ff3ea124897987c0b0b825f /gnu | |
parent | 392be87a15ac9e795e63195eeadcb9fb909d2230 (diff) |
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 'gnu')
0 files changed, 0 insertions, 0 deletions