Re: main broken now?

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Sun Jan 17 1999 - 23:54:44 EST


 I feel like such a bad person, but I just can't get enough of this:

>
> On Jan 14, 1999, Godmar Back <gback@marker.cs.utah.edu> wrote:
>
> > /n/marker/x/gback/transvirtual/kaffe/kaffe/kaffe/main.c: In function `main':
> > /n/marker/x/gback/transvirtual/kaffe/kaffe/kaffe/main.c:67: too few arguments to function `lt_dlpreopen_default'
>
> > ltdl.h says it takes an argument, but main doesn't give it one.
>
> It used to be a macro that would take no arguments. Unfortunately,
> Thomas Tanner (the original author of libltdl) decided to change its
> interface when I wasn't looking :-(
>

Looks like you've been turning your head again, Alexandre.
See what this German did now:

1999-01-17 Thomas Tanner <tanner@gmx.de>

        * libltdl/ltdl.h: renamed lt_dlpreopen* to lt_dlpreload*
          for consistency, removed the declaration of lt_preloaded_symbols
          (should be imported by programs),
          reverted Alexandre's lt_dlpreopen_default_ change and added
          two new macros LTDL_PRELOADED_SYMBOLS and
          LTDL_SET_PRELOADED_SYMBOLS(),
          added lt_dladdsearchdir(), lt_dlsetsearchpath() and
          lt_dlgetsearchpath()

If I may play umpire here, LTDL_SET_PRELOADED_SYMBOLS() is a better
naming choice for a macro than lt_dlpreopen_default, and lt_dlpreopen_default
is a better function name than "lt_dlpreopen_default_".
So give him this point. ;-)

        - Godmar


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:44 EDT