[BRLTTY] [PATCH v1 1/1] fix input_event time related compile fail with MUSL

Samuel Thibault samuel.thibault at ens-lyon.org
Sun Jun 7 16:52:16 EDT 2020


Dave Mielke, le dim. 07 juin 2020 16:26:20 -0400, a ecrit:
> [quoted lines by Samuel Thibault on 2020/06/07 at 20:35 +0200]
> 
> >Yes, that means you can't happily use compatibility with struct timeval.
> 
> Will struct timeval become bigger?

Yes...

> If not, what should we be using to get the
> time which then gets assigned to input_event_sec?

I don't know if they planned to introduce a Y2038-compliant input_event
for 32bit systems. In the meanwhile you can still use gettimeofday, but
you can just not assume that the time field is available, and have to go
through input_event_sec/usec. Hopefully we won't need to be still
using input_event on 32bit systems in 2038.

Samuel


More information about the BRLTTY mailing list