Change #254059
| Category | None |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Sat 03 Jan 2026 23:08:57 |
| Repository | https://api.github.com/repos/curl/curl |
| Project | curl/curl |
| Branch | bagder/tool-progress-test |
| Revision | 9436674c81e9d1445a105be9428d1672affec1b4 |
Comments
tool_progress: fix large time outputs and decimal size display Time output: - was broken for really large times - now uses spaces instead of --:--:-- - >99999y is now the largest shown time - show HH:MM:SS as long as hours are fewer than 100 Size: - made the decimal output always only use a single decimal Test: - Add test 1622 to verify these functions
Changed files
- src/tool_progress.c
- src/tool_progress.h
- tests/data/Makefile.am
- tests/data/test1622
- tests/tunit/Makefile.inc
- tests/tunit/tool1622.c