public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/26746] New: mallinfo doc wrongly states that smblks and fsmblks
@ 2020-10-17 16:34 mtk.manpages at gmail dot com
  2020-10-17 16:37 ` [Bug libc/26746] " mtk.manpages at gmail dot com
  0 siblings, 1 reply; 2+ messages in thread
From: mtk.manpages at gmail dot com @ 2020-10-17 16:34 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26746

            Bug ID: 26746
           Summary: mallinfo doc wrongly states that smblks and fsmblks
           Product: glibc
           Version: 2.33
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: mtk.manpages at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

The info doc for mallinfo() (or now mallinfo2()) has long said that the
'smblks' and 'fsmblks' fields are unused. But this is not so, as can be
verified from the source code.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug libc/26746] mallinfo doc wrongly states that smblks and fsmblks
  2020-10-17 16:34 [Bug libc/26746] New: mallinfo doc wrongly states that smblks and fsmblks mtk.manpages at gmail dot com
@ 2020-10-17 16:37 ` mtk.manpages at gmail dot com
  0 siblings, 0 replies; 2+ messages in thread
From: mtk.manpages at gmail dot com @ 2020-10-17 16:37 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=26746

Michael Kerrisk <mtk.manpages at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mtk.manpages at gmail dot com

--- Comment #1 from Michael Kerrisk <mtk.manpages at gmail dot com> ---
Created attachment 12904
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12904&action=edit
Test program

As further verification, the attached program shows the following ouutput when
run on Fedora 32, glibc 2.31

$ ./t_mallinfo 
sbrk area  135168
ordblks    41216
smblks     493
hblks      0
hblkhd     0
usmblks    0
fsmblks    39440
uordblks   41216
fordblks   93952
keepcost   54512

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-10-17 16:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-17 16:34 [Bug libc/26746] New: mallinfo doc wrongly states that smblks and fsmblks mtk.manpages at gmail dot com
2020-10-17 16:37 ` [Bug libc/26746] " mtk.manpages at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).