On Wednesday, January 15, 2003, at 12:53  AM, Max Horn wrote:


# Like Linux, but with the current version available in
# verstring for coding it into the library header
major=.`expr $current - $age`
versuffix="$major.$age.$revision"
minor_current=`expr $current + 1`
verstring="-compatibility_version $minor_current -current_version $minor_current.$revision"

Otherwise, age is not handled right, as is visible in the above concrete example.

Comments? Am I nuts and this is right code in libtool after all? If so, please explain why. Or do you think it's buggy, too? Tell us!. But maybe my suggested fix is wrong, too? Fine, please explain why and tell us how to do it right, if possible, I'd love to know & fix it.

This is pretty bad actually, having thought about it a little, I'd suggest that for GAL just set the age to zero and pretend that it is binary incompatible, otherwise we will overwrite files in gal21-shlibs with a badly versioned library, and apps will cease to function complaining about the compatibility version of the library.

I think that it should be
major_current=`expr $major +1`
verstring="-compatibility_version $major_current -current_version $minor_current.$revision"

It is borked for any non zero age :(

Peter



-------------------------------------------------------
This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel


Reply via email to