Change #254076
| Category | curl |
| Changed by | Daniel Stenberg <daniel@haxx.se> |
| Changed at | Sun 04 Jan 2026 00:16:59 |
| Repository | https://github.com/curl/curl.git |
| Project | curl |
| Branch | master |
| Revision | b32e66a8ee775b74af22b94feccfb868142a0cc2 |
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 Closes #20177
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