I've been looking for a way to modify 'huffman buffer size' in linux version of lha. (unfortunately there is no such option as in Amiga version).
think I've finally found it defined in 'lha_macro.h' file (from 'lha-114i.tar.gz' ):
/* slide.c */
#ifdef SUPPORT_LH7
#define MAX_DICBIT 16 /* lh7 use 16bits */
#endif
#ifndef SUPPORT_LH7
#define MAX_DICBIT 15 /* lh6 use 15bits */
#endif
Can someone help me make it an option, instead of compiling a new version for each value?
thanks.
( C is not my first language)
edit: I've modified source code, so that lha takes 'method' (-lh1- for eg.) and 'huffman buffer' size as input parameters now, if anyone needs it, send me PM.