SourceForge has been redesigned. Learn more.
Close

#46 --priority switch doesn't work

closed-accepted
5
2009-12-26
2009-11-04
Anonymous
No

I don't know why it stopped working, but it stopped. Please replace this code in parse.c:

BOOL
SetPriorityClassMacro(DWORD p)
{
HANDLE op = OpenProcess(PROCESS_ALL_ACCESS, TRUE, GetCurrentProcessId());
return SetPriorityClass(op, p);
}

with this:

BOOL
SetPriorityClassMacro(DWORD p)
{
return SetPriorityClass(GetCurrentProcess(), p);
}

Thanks.

Discussion

  • Robert Hegemann

    Robert Hegemann - 2009-12-11
    • assigned_to: nobody --> robert
    • status: open --> pending-accepted
     
  • Robert Hegemann

    Robert Hegemann - 2009-12-11

    Thanks for your patch.

     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending-accepted --> closed-accepted
     

Log in to post a comment.