Control: forwarded -1 https://bugs.freedesktop.org/show_bug.cgi?id=96809
On 07/04/2016 08:52 PM, Felipe Sateler wrote: >> I will report this bug upstream, > > Yes please. Done. Set the forwarded tag of this bug report accordingly. > Are there systems where _SC_NPROCEESSORS_CONF is available but > _SC_NPROCEESSORS_ONLN isn't? If so, this should probably be a new > case, not replace the existing one. Since the glibc manual explicitly recommends using _SC_NPROCESSORS_ONLN over _SC_NPROCESSORS_CONF [1], I don't think we should fear any regressions. _SC_NPROCESSORS_ONLN is also available on FreeBSD [2] as well as on GNU/Hurd [3]. I also think that it would make sense to call the variable _SC_NPROCESSORS_CONF and not just _SC_NPROCESSORS if on a system which has _SC_NPROCESSORS_ONLN. > I may be a bit slow in uploading, so feel free to NMU this change if > you want it faster. Thanks, will do that now. Adrian > [1] > https://www.gnu.org/software/libc/manual/html_node/Processor-Resources.html > [2] https://www.freebsd.org/cgi/man.cgi?query=sysconf&sektion=3 > [3] > http://www.hpl.hp.com/hosted/linux/mail-archives/gc/2007-August/001835.html -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer - glaub...@debian.org `. `' Freie Universitaet Berlin - glaub...@physik.fu-berlin.de `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913