Thread (3 messages) 3 messages, 2 authors, 2009-09-16

Re: Persistent problem with wait_until_sent timeout parameter type mismatch

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??
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help