Summary: |
get_nprocs_conf() is not portable |
Product: |
Zeitgeist
|
Reporter: |
Ting-Wei Lan <lantw44> |
Component: |
libzeitgeist | Assignee: |
zeitgeist-bugs <zeitgeist-bugs> |
Status: |
RESOLVED
FIXED
|
QA Contact: |
zeitgeist-bugs <zeitgeist-bugs> |
Severity: |
normal
|
|
|
Priority: |
medium
|
CC: |
ajacoutot
|
Version: |
unspecified | |
|
Hardware: |
x86-64 (AMD64) | |
|
OS: |
FreeBSD | |
|
Whiteboard: |
|
i915 platform:
|
|
i915 features:
|
|
Attachments: |
Replace get_nprocs_conf with sysconf(_SC_NPROCESSORS_CONF)
|
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 94156 [details] Replace get_nprocs_conf with sysconf(_SC_NPROCESSORS_CONF) get_nprocs_conf is only available on GNU/Linux. According to the man pages, it is the same as sysconf(_SC_NPROCESSORS_CONF), so we should use it instead.