diff options
author | Mark Geisert <mark@maxrnd.com> | 2023-11-14 11:58:33 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2023-11-14 13:48:11 +0300 |
commit | c4008b8bc066ee101c3dc6463db7516edb7dc666 (patch) | |
tree | 600258c2eba394f55d25a096e23ebcec5aa8b0e5 /winsup/cygwin | |
parent | d223f095905a100633a0a8af0d6f645e07db15d4 (diff) |
Fix profiler error() definition and usage
Minor updates to profiler and gmondump, which share some code:
- fix operation of error() so it actually works as intended
- resize 4K-size auto buffer reservations to BUFSIZ (==1K)
- remove trailing '\n' from 2nd arg on error() calls everywhere
- provide consistent annotation of Windows error number displays
Fixes: 9887fb27f6126 ("Cygwin: New tool: profiler")
Fixes: 087a3d76d7335 ("Cygwin: New tool: gmondump")
Signed-off-by: Mark Geisert <mark@maxrnd.com>
Diffstat (limited to 'winsup/cygwin')
-rw-r--r-- | winsup/cygwin/release/3.4.10 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/release/3.4.10 b/winsup/cygwin/release/3.4.10 index bcc516427..3bbbca381 100644 --- a/winsup/cygwin/release/3.4.10 +++ b/winsup/cygwin/release/3.4.10 @@ -12,3 +12,6 @@ Bug Fixes - Make random(3) family of functions thread-safe. Addresses: https://cygwin.com/pipermail/cygwin/2023-November/254734.html + +- Updates to profiler and gmondump: error display mechanics, buffer sizing, + and output formatting. |