xmemdup() never returns NULL
 Merge branch 'master' into portable