Re: Persistent problem with wait_until_sent timeout parameter type mismatch
From: Grant Edwards <hidden>
Date: 2009-08-28 14:34:12
From: Grant Edwards <hidden>
Date: 2009-08-28 14:34:12
On 2009-08-21, Grant Edwards [off-list ref] wrote:
I seem to have run into a problem which people have been pointing out for years, but never gets fixed. In tty_driver.h, the low-level driver routine wait_until_set() function takes an "int" as a timeout value:
[...]
But, in tty_ioclt.c in the tty_wait_unti_sent() function, the timeout is a "long":
[...]
This is fine on 32-bit systems, where "int" and "long" are equivalent, but it results in breakage on 64-bit systems.
Is this not the correct forum in which to report bugs in the
tty layer code?
--
Grant Edwards grante Yow! How many retured
at bricklayers from FLORIDA
visi.com are out purchasing PENCIL
SHARPENERS right NOW??