]> sourceware.org Git - newlib-cygwin.git/commit
Fix profiler error() definition and usage
authorMark Geisert <mark@maxrnd.com>
Tue, 14 Nov 2023 08:58:33 +0000 (00:58 -0800)
committerCorinna Vinschen <corinna@vinschen.de>
Tue, 14 Nov 2023 10:48:11 +0000 (11:48 +0100)
commitc4008b8bc066ee101c3dc6463db7516edb7dc666
tree600258c2eba394f55d25a096e23ebcec5aa8b0e5
parentd223f095905a100633a0a8af0d6f645e07db15d4
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>
winsup/cygwin/release/3.4.10
winsup/utils/gmondump.c
winsup/utils/profiler.cc
This page took 0.031782 seconds and 5 git commands to generate.