Bug on RarStream

2 views
Skip to first unread message

Júlio César Ködel

unread,
Jul 10, 2008, 8:46:51 PM7/10/08
to wxMax
The RARStream does not close the stream nor have a .Close method and
thus leaves the .rar file locked.
Also, I've noticed that if I unpack a .exe from a .rar and try to
execute it, the file does not work (although runs fine at the second
time)

--
[]
Júlio César Ködel G.

Bruce Henderson

unread,
Jul 20, 2008, 5:41:45 PM7/20/08
to wx...@googlegroups.com
I wonder if the execution problem is connected to the stream being open.

I've added a Close() method to the type. It'll also auto-close on GC,
if it hasn't been closed by the user.
Please let me know if that solves your problems.


Brucey

Júlio César Ködel

unread,
Jul 20, 2008, 9:00:21 PM7/20/08
to wx...@googlegroups.com
Yes, I had implemented Close method here before send you the bug report and the file was freed...
If you did the close method and auto-close, then it's fixed. Well done! ^^
Reply all
Reply to author
Forward
0 new messages