public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/31661] New: NPROCESSORS_CONF and NPROCESSORS_ONLN not available in getconf
@ 2024-04-19 21:13 mohd.akram at outlook dot com
  2024-05-04 11:13 ` [Bug libc/31661] " mohd.akram at outlook dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: mohd.akram at outlook dot com @ 2024-04-19 21:13 UTC (permalink / raw)
  To: glibc-bugs

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

            Bug ID: 31661
           Summary: NPROCESSORS_CONF and NPROCESSORS_ONLN not available in
                    getconf
           Product: glibc
           Version: 2.38
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: mohd.akram at outlook dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

getconf should support `NPROCESSORS_CONF` and `NPROCESSORS_ONLN`, without a
leading underscore, as specified in POSIX:

https://austingroupbugs.net/view.php?id=339

This is already supported in macOS, FreeBSD, Solaris and other operating
systems.

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

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

* [Bug libc/31661] NPROCESSORS_CONF and NPROCESSORS_ONLN not available in getconf
  2024-04-19 21:13 [Bug libc/31661] New: NPROCESSORS_CONF and NPROCESSORS_ONLN not available in getconf mohd.akram at outlook dot com
@ 2024-05-04 11:13 ` mohd.akram at outlook dot com
  2024-05-06 12:28 ` adhemerval.zanella at linaro dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: mohd.akram at outlook dot com @ 2024-05-04 11:13 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #1 from Mohamed Akram <mohd.akram at outlook dot com> ---
Created attachment 15492
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15492&action=edit
add NPROCESSORS_CONF and NPROCESSORS_ONLN to getconf

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

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

* [Bug libc/31661] NPROCESSORS_CONF and NPROCESSORS_ONLN not available in getconf
  2024-04-19 21:13 [Bug libc/31661] New: NPROCESSORS_CONF and NPROCESSORS_ONLN not available in getconf mohd.akram at outlook dot com
  2024-05-04 11:13 ` [Bug libc/31661] " mohd.akram at outlook dot com
@ 2024-05-06 12:28 ` adhemerval.zanella at linaro dot org
  2024-05-30 14:07 ` mohd.akram at outlook dot com
  2024-06-15 14:17 ` dilfridge at gentoo dot org
  3 siblings, 0 replies; 5+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2024-05-06 12:28 UTC (permalink / raw)
  To: glibc-bugs

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

Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adhemerval.zanella at linaro dot o
                   |                            |rg

--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to Mohamed Akram from comment #1)
> Created attachment 15492 [details]
> add NPROCESSORS_CONF and NPROCESSORS_ONLN to getconf

Could you please send the patch to libc-alpha for revision? The wiki has all
the information on how to do [1].

[1] https://sourceware.org/glibc/wiki/Contribution%20checklist

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

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

* [Bug libc/31661] NPROCESSORS_CONF and NPROCESSORS_ONLN not available in getconf
  2024-04-19 21:13 [Bug libc/31661] New: NPROCESSORS_CONF and NPROCESSORS_ONLN not available in getconf mohd.akram at outlook dot com
  2024-05-04 11:13 ` [Bug libc/31661] " mohd.akram at outlook dot com
  2024-05-06 12:28 ` adhemerval.zanella at linaro dot org
@ 2024-05-30 14:07 ` mohd.akram at outlook dot com
  2024-06-15 14:17 ` dilfridge at gentoo dot org
  3 siblings, 0 replies; 5+ messages in thread
From: mohd.akram at outlook dot com @ 2024-05-30 14:07 UTC (permalink / raw)
  To: glibc-bugs

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

--- Comment #3 from Mohamed Akram <mohd.akram at outlook dot com> ---
(In reply to Adhemerval Zanella from comment #2)
> (In reply to Mohamed Akram from comment #1)
> > Created attachment 15492 [details]
> > add NPROCESSORS_CONF and NPROCESSORS_ONLN to getconf
> 
> Could you please send the patch to libc-alpha for revision? The wiki has all
> the information on how to do [1].
> 
> [1] https://sourceware.org/glibc/wiki/Contribution%20checklist

Thank you, I've sent a patch.

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

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

* [Bug libc/31661] NPROCESSORS_CONF and NPROCESSORS_ONLN not available in getconf
  2024-04-19 21:13 [Bug libc/31661] New: NPROCESSORS_CONF and NPROCESSORS_ONLN not available in getconf mohd.akram at outlook dot com
                   ` (2 preceding siblings ...)
  2024-05-30 14:07 ` mohd.akram at outlook dot com
@ 2024-06-15 14:17 ` dilfridge at gentoo dot org
  3 siblings, 0 replies; 5+ messages in thread
From: dilfridge at gentoo dot org @ 2024-06-15 14:17 UTC (permalink / raw)
  To: glibc-bugs

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

Andreas K. Huettel <dilfridge at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |2.40
                 CC|                            |dilfridge at gentoo dot org
         Resolution|---                         |FIXED

--- Comment #4 from Andreas K. Huettel <dilfridge at gentoo dot org> ---
commit 2f7246015c0d0760ab4529c4b13b2816337bed35
Author: Mohamed Akram <mohd.akram@outlook.com>
Date:   Thu May 30 18:05:50 2024 +0400

    getconf: Add NPROCESSORS_{CONF,ONLN} [BZ #31661]

    These are required by the upcoming POSIX standard and are available on
    other platforms.

    Link: https://austingroupbugs.net/view.php?id=339
    Signed-off-by: Mohamed Akram <mohd.akram@outlook.com>
    Reviewed-by: Arjun Shankar <arjun@redhat.com>

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

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

end of thread, other threads:[~2024-06-15 14:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-19 21:13 [Bug libc/31661] New: NPROCESSORS_CONF and NPROCESSORS_ONLN not available in getconf mohd.akram at outlook dot com
2024-05-04 11:13 ` [Bug libc/31661] " mohd.akram at outlook dot com
2024-05-06 12:28 ` adhemerval.zanella at linaro dot org
2024-05-30 14:07 ` mohd.akram at outlook dot com
2024-06-15 14:17 ` dilfridge at gentoo dot org

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).