Re: bug(?) in block_til_ready serial.c - open() blocking, 2.0 & 2.2

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sat, 27 Mar 1999 14:47:22 +0000 (GMT)


> OK, the bug was in my program - I have put CLOCAL flag into c_oflag, not
> c_cflag, thus effectively clearing it. But then I consider not using
> "O_NDELAY" by "stty" program a bug.
>
> After "stty -clocal < /dev/ttyS0" you can not use stty any more.

stty doesnt open the terminal in the above example. The shell does.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/