diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-08 18:29:09 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2002-02-08 18:29:09 +0000 |
commit | 9f81520a3c5cc4e47f4bb8f867707113b3bd0a9a (patch) | |
tree | de431347d9a560df6945c6007c7ba355a908026a /gnu | |
parent | f2317dc7029efa2a04d99deb4d58ff3d1d5420d8 (diff) |
Add a slightly redundant arg to finishdup that's the struct file *
present on the 'old' descriptor. It's not really necessary because
we can easily find it with 'fp = p->p_fd->fd_ofiles[old];', but this
allows us to require that the fp is FREFed without violating all rules
of good taste and all callers have to do fd_getfile on it anyway (to
detect larval and closing files.
FREF the fp in all callers.
Diffstat (limited to 'gnu')
0 files changed, 0 insertions, 0 deletions