use dd ifs=$n count=1 ... rather than less-portable head -c$n
authorJim Meyering <meyering@redhat.com>
Wed, 14 May 2008 15:20:42 +0000 (17:20 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 14 May 2008 15:20:42 +0000 (17:20 +0200)
commit49161ce7902821ef24a9e30b16dc87147c24da65
tree9159f2a62b7e611d171140073c4141bdab93e57a
parent83332ed7cb60db2caee1883875eb24e9c41f505f
use dd ifs=$n count=1 ... rather than less-portable head -c$n

* build-aux/mktempd (rand_bytes): head's -cN option is not accepted
by Solaris 10's /bin/head or by the one from HP-UX 11.x.
Reported in http://sourceforge.net/forum/message.php?msg_id=4960334
via Collin Lasse.
ChangeLog
build-aux/mktempd