Hello,

p.z.l wrote:
Hello.  Speaking of releasing new versions I have suggestion regarding
lzlib - to rename main.c to minilzip.c as main suggests it is a main part
of library.  Maybe even put examples separate directory.  I had a problem
with it when was testing lzlib in lzbench and got lots of multiple
definition of main and stuff.   Thanks.

I gave main.c its name because it contains the 'main' function of minilzip; the only 'main' function existing then. (Lzlib, being a library, does not contain a 'main' function by itself).

But now that there are other three files with 'main' functions (bbexample.c, ffexample.c, and lzcheck.c) I agree that it may be more informative to rename it to minilzip.c.

About moving the examples (and lzcheck.c) to a separate directory, I would prefer not to do it because it complicates the package and the Makefile. I expect it to be easy to tell these four files from the library source files once main.c is renamed to minilzip.c.

Best regards,
Antonio.

Reply via email to