This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/18086] New: nice() sets errno to 0 on success
- From: "jennieveenhuizen at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Fri, 06 Mar 2015 03:23:57 +0000
- Subject: [Bug libc/18086] New: nice() sets errno to 0 on success
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=18086
Bug ID: 18086
Summary: nice() sets errno to 0 on success
Product: glibc
Version: 2.21
Status: NEW
Severity: minor
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: jennieveenhuizen at gmail dot com
CC: drepper.fsp at gmail dot com
Created attachment 8176
--> https://sourceware.org/bugzilla/attachment.cgi?id=8176&action=edit
Diff against the current development source tree
The implementation of nice() sets errno to 0 on success.
Quoting POSIX: "No function in this volume of POSIX.1-2008 shall set errno to
0."
See attachment for the suggested fix.
--
You are receiving this mail because:
You are on the CC list for the bug.