| 1 |
Fromscip-debian debian input-utils 1.3-3 input-utils/patches/`0008-usecs-can-be-long-long-if-the-kernel-s-usecs-are-i64.patch`#From.: =?utf-8?b?0L3QsNCx?= <[email protected]scip-debian . . . identity/`[email protected]`.> |
| 2 |
Datescip-debian debian input-utils 1.3-3 input-utils/patches/`0008-usecs-can-be-long-long-if-the-kernel-s-usecs-are-i64.patch`#Date.: Mon, 16 Sep 2024 14:24:35 +0200 |
| 3 |
Subjectscip-debian debian input-utils 1.3-3 input-utils/patches/`0008-usecs-can-be-long-long-if-the-kernel-s-usecs-are-i64.patch`#Subject.: usecs can be long long if the kernel's usecs are i64 but the |
| 4 |
userspace's longs are i32 (x32, ..?) |
| 5 |
|
| 6 |
--- |
| 7 |
input.c | 2 +- |
| 8 |
1 file changed, 1 insertion(+), 1 deletion(-) |
| 9 |
|
| 10 |
diff --git a/input.cscip-debian debian input-utils 1.3-3 input-utils/upstream/`input.c`: b/input.cscip-debian debian input-utils 1.3-3 input-utils/upstream/`input.c`: |
| 11 |
index aad9dbd..7edf330 100644 |
| 12 |
--- a/input.c |
| 13 |
+++ b/input.c |
| 14 |
@@ -211,7 +211,7 @@ void print_event(struct input_event *event) |
| 15 |
|
| 16 |
t = event->input_event_sec; |
| 17 |
strftime(ts,sizeof(ts),"%H:%M:%S",localtime(&t)); |
| 18 |
|
| 19 |
+ printf("%s.%06lld: %s",ts,(long long)event->input_event_usec, |
| 20 |
EV_NAME[event->type]); |
| 21 |
switch (event->type) { |
| 22 |
case EV_KEY: |