[Zeitgeist-bugs] [Bug 75049] New: get_nprocs_conf() is not portable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 16 11:51:36 CET 2014


https://bugs.freedesktop.org/show_bug.cgi?id=75049

          Priority: medium
            Bug ID: 75049
          Assignee: zeitgeist-bugs at lists.freedesktop.org
           Summary: get_nprocs_conf() is not portable
        QA Contact: zeitgeist-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: FreeBSD
          Reporter: lantw44 at gmail.com
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: libzeitgeist
           Product: Zeitgeist

Created attachment 94156
  --> https://bugs.freedesktop.org/attachment.cgi?id=94156&action=edit
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.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/zeitgeist-bugs/attachments/20140216/3ca20144/attachment.html>


More information about the Zeitgeist-bugs mailing list