broken compatability between 1.3.5 and 1.4.1

Roland Dowdeswell elric at imrryr.org
Wed Oct 5 15:44:02 EDT 2005


On 1128121033 seconds since the Beginning of the UNIX epoch
Tom Yu wrote:
>

>Interesting.  As early as 1.2.x, the *_init_ets() functions were
>marked as private, so prototypes should not have been available unless
>KRB5_PRIVATE was defined.
>
>Also, somewhere since 1.2.x, we started to use export lists to
>restrict symbols exported from shared libraries on Unix platforms.

Not exposing the prototypes only helps if developers consistently
compile with [in gcc]: -Wmissing-prototypes -Werror.  Unfortunately,
most C programmers do not do this and hence continued to use the
function without being alerted to the fact that it was missing.

--
    Roland Dowdeswell                      http://www.Imrryr.ORG/~elric/


More information about the krbdev mailing list