waf: wrap more libc functions

This commit is contained in:
Andrew Tridgell 2019-09-09 06:31:03 +10:00
parent c2b06a3293
commit c90b937972
1 changed files with 3 additions and 2 deletions

View File

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