]> git.ipfire.org Git - thirdparty/util-linux.git/commit
scriptreplay: use struct timeval for delay
authorKarel Zak <kzak@redhat.com>
Mon, 29 Jul 2019 10:50:17 +0000 (12:50 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 8 Oct 2019 11:11:54 +0000 (13:11 +0200)
commitb639c2a39be29a0e016cd08a2a66c583b7f978a3
treed73d8c905149e0c82d3397a72cf50fc95525a05e
parenta1cc831b594b16800468aaf9eac7262bbfcc27ec
scriptreplay: use struct timeval for delay

* use timeval rather than double for delay
* use sys/time.h macros for wirk with timeval
* add delay normalization to script-playutils.c API

Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/script-playutils.c
term-utils/script-playutils.h
term-utils/scriptreplay.c