From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 96935 invoked by alias); 9 Mar 2015 08:23:56 -0000 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org Received: (qmail 96885 invoked by uid 48); 9 Mar 2015 08:23:52 -0000 From: "jennieveenhuizen at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/18086] nice() sets errno to 0 on success Date: Mon, 09 Mar 2015 08:23:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.21 X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: jennieveenhuizen at gmail dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-03/txt/msg00074.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=18086 --- Comment #1 from Jennie Veenhuizen --- Created attachment 8181 --> https://sourceware.org/bugzilla/attachment.cgi?id=8181&action=edit Test program The bug is only triggered if the old nice value was not -1. I have attached a small test program to demonstrate the problem. -- You are receiving this mail because: You are on the CC list for the bug.