Fix usage of GLIBC-only get_nprocs_conf()
Bug #1161565 reported by
Jasper Lievisse Adriaanse
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libzeitgeist |
New
|
Undecided
|
Unassigned |
Bug Description
Currently log.vala is using get_ncprocs_conf(), however, this function is a GNU-extension and just shorthand for the standard and portable version: sysconf(
Attached is a patch which switches log.vala over to the portable version which also compiles fine on OpenBSD and all non-Linux platforms. This patch also needs "--pkg linux" added to AM_VALAFLAGS in libzeitgeist/
To post a comment you must log in.
Fixed in zeitgeist master: cgit.freedeskto p.org/zeitgeist /zeitgeist/ commit/ ?id=3fe95cdb5a4 c48d3b6606ffb1f 60fae3e375fdff
http://