This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author George.Kouryachy
Recipients George.Kouryachy
Date 2014-01-30.12:57:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391086661.44.0.32383692097.issue20445@psf.upfronthosting.co.za>
In-reply-to
Content
It's declared in pyconfig.h that HAVE_BROKEN_NICE is set if nice() returns success/failure instead of the new priority.

But configure checks just opposite (as for http://hg.python.org/cpython/file/03fc7449f204/configure.ac#l4234):

  if (val1 != -1 && val1 == nice(2))
    exit(0);

We need "val1 != nice(2)" instead (to ensure that nicelevel is increased) or "val1 == nice(2)+2" (to check increment is proper; this can be tricky in some cases).
History
Date User Action Args
2014-01-30 12:57:41George.Kouryachysetrecipients: + George.Kouryachy
2014-01-30 12:57:41George.Kouryachysetmessageid: <1391086661.44.0.32383692097.issue20445@psf.upfronthosting.co.za>
2014-01-30 12:57:41George.Kouryachylinkissue20445 messages
2014-01-30 12:57:40George.Kouryachycreate