public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/18086] New: nice() sets errno to 0 on success
@ 2015-03-06  3:24 jennieveenhuizen at gmail dot com
  2015-03-06  3:39 ` [Bug libc/18086] " jennieveenhuizen at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: jennieveenhuizen at gmail dot com @ 2015-03-06  3:24 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-29 16:33 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-06  3:24 [Bug libc/18086] New: nice() sets errno to 0 on success jennieveenhuizen at gmail dot com
2015-03-06  3:39 ` [Bug libc/18086] " jennieveenhuizen at gmail dot com
2015-03-06  3:41 ` jennieveenhuizen at gmail dot com
2015-03-09  8:23 ` jennieveenhuizen at gmail dot com
2015-08-09 23:08 ` ppluzhnikov at google dot com
2015-08-12  6:41 ` cvs-commit at gcc dot gnu.org
2015-08-12  6:42 ` ppluzhnikov at google dot com
2015-10-29 16:33 ` jsm28 at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).