Skip to content
Commit 6c5d0512 authored by Al Viro's avatar Al Viro
Browse files

[PATCH] get rid of corner case in dup3() entirely



Since Ulrich is OK with getting rid of dup3(fd, fd, flags) completely,
to hell the damn thing goes.  Corner case for dup2() is handled in
sys_dup2() (complete with -EBADF if dup2(fd, fd) is called with fd
that is not open), the rest is done in dup3().

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 4cc38a1b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment