On 2014-03-07 19:50, Caio Yuri da Silva Costa wrote:
> I've setup a github fork of the original project, as it gives me more
> freedom to work. Available at https://github.com/caioycosta/lrzip-cygwin .
> Future progress will be available from there.

FYI, you can replace your commit 9ee8ca9 with this patch:

https://sourceforge.net/p/cygwin-ports/lrzip/ci/6d711f/tree/0.612-va_list.patch

> The downside is that I did a workaround, not a real solution to the issue.
> It seems the original developer had a misunderstanding on the locking
> implementation. There are mutexes being locked in one thread and unlocked in
> another, mutexes being locked twice by the same thread...
>
> It will take some time to do the refactoring, so I just exchanged
> pthread_create for direct function calls on problematic areas, effectively
> disabling threading for the program. Not perfect, but usable.

I applied your patch (commit 3d61fde) to 0.616.  Decompression worked, 
as did compression *except* for lzrip -z (ZPAQ compression), which 
requires another patch to fix the assembly code for Cygwin64:

https://sourceforge.net/p/cygwin-ports/lrzip/ci/e821a7a/tree/0.616-cygwin64.patch

> If you like it you can grab the code and update the Cygwin-ports packages.

Done; 0.616-1 will be in the next Ports upload for both arches.  Thanks 
for looking into this!


Yaakov
Cygwin Ports


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Cygwin-ports-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general

Reply via email to