1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-12 11:01:15 +02:00

53257: use monotonic clock where appropriate

update the following features to use the monotonic clock for calculating time
deltas and intervals:

* MAILCHECK parameter
* PERIOD parameter
* SECONDS parameter
* %(nS.t.f) prompt-expansion sequence
* time built-in's elapsed time and cpu % values
* zsh/zftp ZFTP_TMOUT parameter
* zsh/zprof timings

also use CLOCK_MONOTONIC_RAW instead of CLOCK_MONOTONIC on macOS
This commit is contained in:
dana 2024-12-26 09:36:45 -06:00
parent 7798fd88ac
commit 6bb792dba8
18 changed files with 225 additions and 92 deletions

View file

@ -1,3 +1,12 @@
2024-12-26 dana <dana@dana.is>
* 53257: Doc/Zsh/params.yo, Doc/Zsh/prompt.yo,
Src/Modules/zftp.c, Src/Modules/zprof.c, Src/compat.c,
Src/exec.c, Src/hist.c, Src/init.c, Src/jobs.c, Src/params.c,
Src/prompt.c, Src/signals.c, Src/utils.c, Src/zsh.h,
Test/A08time.ztst, Test/D01prompt.ztst, Test/D04parameter.ztst:
use monotonic clock where appropriate
2024-12-16 dana <dana@dana.is>
* 53251: Completion/Unix/Command/_man: fix page completion on

View file

Internal server error - The gay git

500

Internal server error

Forgejo version: 9.0.3

@ -926,7 +926,9 @@ referenced or seeded in the parent shell in between subshell invocations.