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

From: Jean-Marc Lasgouttes (Jean-Marc.Lasgouttes@inria.fr)
Date: Thu Apr 17 2003 - 05:53:58 EDT

  • Next message: Jean-Marc Lasgouttes: "Re: XForms: [patch]: reworking the snprintf stuff"

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

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

    Angus> # To subscribers of the xforms list from Angus Leeming
    Angus> <angus.leeming@btopenworld.com> :
    Angus> On Wednesday 16 April 2003 10:49 am, Angus Leeming wrote:
    >> The attached patch removes the snp directory, replacing it with a
    >> single file lib/flsnprintf.c. All routines that did call snprintf
    >> direct now call fl_snprintf which #define-d as either the system's
    >> snprintf or portable_snprintf defined in lib/flsnprintf.c. This
    >> latter routine has received extensive testing in the LyX project,
    >> so we know it works ;-)

    Angus> Ok, I found machines both with and without snprintf and have
    Angus> confirmed that this works fine. I have therefore committed it
    Angus> to the repository.

    A few comments: do we really want to make this public? It would seem
    simpler to have the function internal, in which case a define in
    some header would work. Also, this would avoid the wrapper around the
    real snprintf, which is bloat...

    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 : Thu Apr 17 2003 - 05:56:18 EDT