Mercurial > hg > octave-lojdl > gnulib-hg
comparison lib/vasnprintf.c @ 8424:ec3450ce9889
Use the system's sprintf function.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 11 Mar 2007 22:55:55 +0000 |
parents | ee40afd85f2c |
children | a33d54e4e24f |
comparison
equal
deleted
inserted
replaced
8423:5fc4383618f0 | 8424:ec3450ce9889 |
---|---|
112 # define SNPRINTF snprintf | 112 # define SNPRINTF snprintf |
113 /* Here we need to call the native snprintf, not rpl_snprintf. */ | 113 /* Here we need to call the native snprintf, not rpl_snprintf. */ |
114 # undef snprintf | 114 # undef snprintf |
115 # endif | 115 # endif |
116 #endif | 116 #endif |
117 /* Here we need to call the native sprintf, not rpl_sprintf. */ | |
118 #undef sprintf | |
117 | 119 |
118 CHAR_T * | 120 CHAR_T * |
119 VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list args) | 121 VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list args) |
120 { | 122 { |
121 DIRECTIVES d; | 123 DIRECTIVES d; |