Re: XForms: [patch]: reworking the snprintf stuff

From: Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
Date: Wed Apr 23 2003 - 06:28:11 EDT

  • Next message: Jean-Marc Lasgouttes: "Re: XForms: autoconf/automake patch"

    # To subscribers of the xforms list from Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr> :

    >>>>> "Angus" == Angus Leeming <angus.leeming@btopenworld.com> writes:

    Angus> Ok, I got it to work and have committed it to the repository.
    Angus> However, I don't understand why I need #if 0 ... #endif to
    Angus> enable the DEC linker to find fl_portable_v?snprintf. I thought
    Angus> that both the #define and the function could exist side by side
    Angus> and the linker was sufficiently intelligent to differentiate
    Angus> between them.

    It seems to me that the test in the code is reversed. Why do we do
    #define fl_portable_vsnprintf vsnprintf
    when HAVE_SNPRINTF is _not defined?

    Angus> Could you advise? Shall I just remove the block of code? It
    Angus> serves no useful purpose. Why does the same block of code work
    Angus> in LyX?

    I really do not know what this code intends to do...

    JMarc
    _________________________________________________
    To unsubscribe, send the message "unsubscribe" to
    xforms-request@bob.usuhs.mil or see
    http://bob.usuhs.mil/mailserv/xforms.html
    XForms Home Page: http://world.std.com/~xforms
    List Archive: http://bob.usuhs.mil/mailserv/list-archives/
    Development: http://savannah.nongnu.org/files/?group=xforms



    This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 06:29:30 EDT