[Ecls-list] ecls 10.3.1 on armv7

Matthew Mondor mm_lists at pulsar-zone.net
Thu Apr 1 20:45:16 UTC 2010


On Sun, 28 Mar 2010 15:50:38 -0400
Ryan Hope <rmh3093 at gmail.com> wrote:

> ioctl(4, SNDCTL_TMR_TIMEBASE or TCGETS, 0x9ed40a44) = -1 EINVAL (Invalid
> argument)

I could take a look at the glibc code and stdio fopen(3) invokes
isatty(3) to determine the buffering type it should use (it should use
line-buffering on TTYs), and isatty(3) calls tcgetattr(3) which in turn
on Linux uses the TCGETS ioctl(2), so the source of that EINVAL would be
there.

In theory, this only should affect stdio buffering on that file handle,
however, I doubt the crash really has to do with this.
-- 
Matt




More information about the ecl-devel mailing list