Merge changes between r23438 and r23517 from /fsf/trunk.


git-svn-id: http://www.eglibc.org/svn/trunk/libc@23518 7b3dc134-2b1b-0410-93df-9e9f96275f8d