diff options
| author | Mark Geisert <mark@maxrnd.com> | 2021-08-01 23:52:31 -0700 |
|---|---|---|
| committer | Corinna Vinschen <corinna@vinschen.de> | 2021-08-03 10:05:50 +0200 |
| commit | 94ead7b76d18fbb11e446d35f1afb5c9485d9dca (patch) | |
| tree | ca23ace5a6ea335282becea85ef1bbb22a9dd428 /libgloss | |
| parent | 99a4b087d41b71ccb2d39900c74ef4b8cf0320fc (diff) | |
| download | newlib-94ead7b76d18fbb11e446d35f1afb5c9485d9dca.tar.gz newlib-94ead7b76d18fbb11e446d35f1afb5c9485d9dca.tar.bz2 newlib-94ead7b76d18fbb11e446d35f1afb5c9485d9dca.zip | |
Cygwin: More profiler format + small issue fixes
Make sure to cast to ulong all DWORD values displayed with format "%lu".
More instances are fixed here than in either my earlier unused patch or
Corinna's patch. I decided to use typedef..ulong for more compact code.
Address jturney's reported small issues:
- Remove explicit external ref for cygwin_internal() as it is already
provided by <sys/cygwin.h>.
- Leave intact ref for cygwin_dll_path[] as it is required by function(s)
in path.cc that profiler uses. Added comment to that effect.
- Delete existing main() wrapper. Rename main2() to main(). This because
profiler is now a Cygwin program and doesn't need to dynamically load
cygwin1.dll.
- Documentation issues will be addressed in a separate xml patch.
(I would have linked message-ids of Corinna's and Jon's messages for
proper theading but I no longer have their original emails and the mail
archives don't show msgids any more.)
Diffstat (limited to 'libgloss')
0 files changed, 0 insertions, 0 deletions
