noreply at rubyforge.org
2007-Jan-15 05:14 UTC
[Win32utils-devel] [ win32utils-Bugs-7837 ] windows-pr error in declaration of NetWkstaSetInfo
Bugs item #7837, was opened at 2007-01-15 00:14 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=7837&group_id=85 Category: None Group: Code Status: Open Resolution: None Priority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: windows-pr error in declaration of NetWkstaSetInfo Initial Comment: While installing windows-pr 0.6.2, I got the following error from RDoc: lib/windows/network_management.rb:422:30: Couldn''t find NetWkstaSetInfo. Assuming it''s a module Looking closer, I found that its definition: 422: def NetWkstaSetInfo.call(server, level, buf, error) 423: NetWkstaSetInfo.call(server, level, buf, error) == NERR_Success 424: end has an extra .call in the function name. This has two side effects (other than RDoc errors): 1) the standard function syntax of NetWkstaSetInfo(a, b, c, d) won''t work, (which should raise alarm bells for any users) and 2) any attempt to use NetWkstaSetInfo.call(...) will almost certainly be infinitely recursive and trigger a stack overflow. PS As of this writing, there''s no Rubyforge Category for windows-pr, so I can''t assign this bug to the right type. Please fix this too. Thanks, Richard ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=7837&group_id=85
noreply at rubyforge.org
2007-Jan-15 14:04 UTC
[Win32utils-devel] [ win32utils-Bugs-7837 ] windows-pr error in declaration of NetWkstaSetInfo
Bugs item #7837, was opened at 2007-01-14 22:14 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=7837&group_id=85>Category: windows-prGroup: Code>Status: Closed >Resolution: AcceptedPriority: 3 Submitted By: Nobody (None) Assigned to: Nobody (None) Summary: windows-pr error in declaration of NetWkstaSetInfo Initial Comment: While installing windows-pr 0.6.2, I got the following error from RDoc: lib/windows/network_management.rb:422:30: Couldn''t find NetWkstaSetInfo. Assuming it''s a module Looking closer, I found that its definition: 422: def NetWkstaSetInfo.call(server, level, buf, error) 423: NetWkstaSetInfo.call(server, level, buf, error) == NERR_Success 424: end has an extra .call in the function name. This has two side effects (other than RDoc errors): 1) the standard function syntax of NetWkstaSetInfo(a, b, c, d) won''t work, (which should raise alarm bells for any users) and 2) any attempt to use NetWkstaSetInfo.call(...) will almost certainly be infinitely recursive and trigger a stack overflow. PS As of this writing, there''s no Rubyforge Category for windows-pr, so I can''t assign this bug to the right type. Please fix this too. Thanks, Richard ---------------------------------------------------------------------->Comment By: Daniel Berger (djberg96)Date: 2007-01-15 07:04 Message: Thanks Richard. I''ve fixed it in CVS and added a ''windows-pr'' bug category as well. This fix will be part of the 0.6.3 release. Regards, Dan ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=411&aid=7837&group_id=85
Apparently Analagous Threads
- [ win32utils-Bugs-4101 ] create hash param
- [ win32utils-Bugs-6722 ] win32-changenotify fails on Ruby 1.8.4
- [ win32utils-Bugs-8942 ] several typo in windows-pr.
- [ win32utils-Bugs-3924 ] Segmentation fault under Windows
- [ win32utils-Bugs-4598 ] possible wrong condition