waf: wrap vsnprintf

This commit is contained in:
Andrew Tridgell 2019-09-08 20:54:52 +10:00
parent 3166f84954
commit c2b06a3293

View File

@ -369,7 +369,7 @@ def build(bld):
# implement anywhere (the FILE* functions). This allows us to get link
# errors if we accidentially try to use one of those functions either
# directly or via another libc call
wraplist = ['sscanf', 'snprintf',
wraplist = ['sscanf', 'snprintf', 'vsnprintf',
'fopen', 'fread', 'fprintf', 'fflush', 'fwrite', 'fread', 'fputs', 'fgets',
'clearerr', 'fseek', 'ferror', 'fclose', 'tmpfile', 'getc', 'ungetc', 'feof',
'ftell', 'freopen', 'remove', 'vfprintf', 'fscanf' ]