in reply to perl bug? illegal seek with dup and many filehandles

ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff2b62da20) = -1 EINVAL (Invalid argument)

I suspect that the ioctl() you're calling is invalid for the x86_64 architecture. The completely malaprop file descriptor (SNDCTL_TMR_TIMEBASE doesn't have much to do with duping filehandles) certainly implies that this is the case; so does the reported success on the 32-bit machine.


--
"Language shapes the way we think, and determines what we can think about."
-- B. L. Whorf
  • Comment on Re: perl bug? illegal seek with dup and many filehandles