Thread

  1. Bug fix for src/backend/ports/snprintf.c sent to the patches list

    Pedro J. Lobo <pjlobo@euitt.upm.es> — 1998-12-17T16:09:57Z

    Hi, all.
    
    I've just sent a patch to the pgsql-patches list that (among other fixes
    specific for Digital Unix) contains a patch for
    src/backent/ports/snprintf.c. That file contained two bugs: it incorrectly
    used HAVE_LONG_INT_64 to check if it could use the "long long int" type
    (changed to HAVE_LONG_LONG_INT_64), and it misused the variable argument
    mechanism defined in stdarg.h (vsnprintf was incorrectly defined, for
    example).
    
    The patch fixes the type int8 under Digital Unix, and it should fix it
    also for systems that don't have native snprintf/vsnprintf.
    
    Please take a look at it, and let me know if you see something wrong.
    
    -- 
    -------------------------------------------------------------------
    Pedro José Lobo Perea                   Tel:    +34 91 336 78 19
    Centro de Cálculo                       Fax:    +34 91 331 92 29
    EUIT Telecomunicación - UPM             e-mail: pjlobo@euitt.upm.es