Difference for common/porting.c from version 1.14 to 1.15


version 1.14 version 1.15
Line 1
 
Line 1
 /*  /*
  * static char *rcsid_porting_c =   * static char *rcsid_porting_c =
  *   "$Id: porting.c,v 1.14 2002/09/07 05:55:18 mwedel Exp $";   *   "$Id: porting.c,v 1.15 2002/09/24 06:34:59 mwedel Exp $";
  */   */
   
 /*  /*
Line 321
 
Line 321
 }  }
 #endif  #endif
   
   #if !defined(HAVE_SNPRINTF)
   
   int snprintf(char *dest, int max, const char *format, ...)
   {
       va_list var;
       int ret;
   
       va_start(var, format);
       ret = vsprintf(dest, format, var);
       va_end(var);
       if (ret > max) abort();
   
       return ret;
   }
   #endif
   
   
 /* This takes an err number and returns a string with a description of  /* This takes an err number and returns a string with a description of
  * the error.   * the error.


Legend:
line(s) removed in v.1.14 
line(s) changed
 line(s) added in v.1.15

File made using version 1.98 of cvs2html by leaf at 2011-07-21 17:16