[Zlib-devel] [PATCH] One last proposal to eliminate .rc mismatches

Andrei Polushin a-polushin at mail.ru
Wed May 3 16:06:08 EDT 2006


William A. Rowe, Jr. wrote:
> Rather than count on remembering to bump the .rc file, and other places
> that need discrete numeric elements for the version number, I'd propose
> the attached patch to define the zlib version elements -exactly once-,
> and derive all other flavors of the version from that tag.

Well, do you think this point should be raised every two years? :)

I mean there was an equivalent patch already:

http://madler.net/mailman/private/zlib-devel_madler.net/2004-September/000492.html
http://madler.net/mailman/private/zlib-devel_madler.net/2004-September/000493.html

Quoting from that:

William A. Rowe, Jr. wrote:
> +1 Andrei, we do something similar in Apache httpd, but rewrite
> the version string into an .rc script using awk.
>
> This seems more trivial.
>
> Andrei Polushin wrote:
>> I would like to propose version calculation mechanism for zlib.
>> The idea is to split version macros into separate parts, and then
>> calculate original values. The direct objective is to simplify
>> maintenance of Win32 build, which require different form of version
>> representation (separated by commas). If the patch were accepted,
>> we will be able to rewrite .rc files in win32 directory in a way that
>> they will not require version maintenance.

--
Andrei Polushin





More information about the Zlib-devel mailing list