lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lzlib] Renaming main.c to minilzip.c


From: Antonio Diaz Diaz
Subject: Re: [lzlib] Renaming main.c to minilzip.c
Date: Thu, 13 Jan 2022 23:00:26 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

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

[Prev in Thread] Current Thread [Next in Thread]