This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/22020] _SC_ATEXIT_MAX defined incorrectly, sysconf (_SC_ATEXIT_MAX) is wrong
- From: "ppluzhnikov at google dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Sat, 02 Sep 2017 21:54:23 +0000
- Subject: [Bug libc/22020] _SC_ATEXIT_MAX defined incorrectly, sysconf (_SC_ATEXIT_MAX) is wrong
- Auto-submitted: auto-generated
- References: <bug-22020-131@http.sourceware.org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=22020
Paul Pluzhnikov <ppluzhnikov at google dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ppluzhnikov at google dot com
Assignee|unassigned at sourceware dot org |ppluzhnikov at google dot com
--- Comment #2 from Paul Pluzhnikov <ppluzhnikov at google dot com> ---
32 slot limit is now tested:
https://sourceware.org/git/?p=glibc.git;a=commit;h=50c66c7acd90f257b295e58bf938ed120cbc27c7
https://sourceware.org/git/?p=glibc.git;a=commit;h=3824fc38910f71c2c8cc623e788ff7eb09999642
I'll mail a patch to delete the _SC_ATEXIT_MAX define.
> what should be returned
quoting http://pubs.opengroup.org/onlinepubs/009695399/functions/sysconf.html:
If the variable corresponding to name has no limit, sysconf() shall return -1
without changing the value of errno.
I'll send a patch.
--
You are receiving this mail because:
You are on the CC list for the bug.