This looks rather similar to #566639 and can be closed for the same reason. The behaviour is as specified by POSIX and does not seem broken to me.
-- Jilles Tjoelker -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org