[Bug 263939] python3.8 os.sched_getaffinity(0); broken?
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 263939] math/py-numpy -- error on build"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 12 May 2022 17:07:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263939
--- Comment #6 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=3e11d3f61ae2b2b8a8ffeff4ef32067d95c065a1
commit 3e11d3f61ae2b2b8a8ffeff4ef32067d95c065a1
Author: Dmitry Chagin <dchagin@FreeBSD.org>
AuthorDate: 2022-05-12 17:06:13 +0000
Commit: Dmitry Chagin <dchagin@FreeBSD.org>
CommitDate: 2022-05-12 17:06:13 +0000
Fixed the value returned by sched_getaffinity().
On success gnu libc sched_getaffinity() should return 0, unlike underlying
Linux syscall which returns the size of CPU mask copied to user.
PR: 263939
MFC after: 2 weeks
lib/libc/gen/sched_getaffinity.c | 4 ----
1 file changed, 4 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.