This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/22020] _SC_ATEXIT_MAX defined incorrectly, sysconf (_SC_ATEXIT_MAX) is wrong


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]