[Win32utils-devel] [ win32utils-Bugs-28801 ] unclosed handle in Process.setpriority/getpriority

noreply at rubyforge.org noreply at rubyforge.org
Sat Dec 25 05:02:54 EST 2010


Bugs item #28801, was opened at 2010-12-25 11:02
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=411&aid=28801&group_id=85

Category: win32-process
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Rafał Michalski (royaltm)
Assigned to: Nobody (None)
Summary: unclosed handle in Process.setpriority/getpriority 

Initial Comment:
Using Process.setpriority/getpriority was crashing my ruby program.

I think the problem was with unclosed handle from OpenProcess() function.

my patch for lib/win32/process.rb (0.6.4) follows, however the bug exists also in previous releases.


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=411&aid=28801&group_id=85


More information about the win32utils-devel mailing list