Hello, please do not apply the previous patch, i did something very stupid. Use the attached patch instead (makes also better use of the C99 style return value). bye michael On Wed, Dec 26, 2001 at 01:09:06AM +0100, Michael Stefaniuc wrote: [snip]
I did a short check with camus:~/work/wine$ grep -r -I -C snprintf ./ | less and this is what I found: - most of the time the return value of *snprintf isn't checked - if the return value is checked it's mostly checked for C89 and C99 style - the attached patch should fix all the remaining cases.
Changelog: Michael Stefaniuc <mstefani(a)redhat.com> check the return value of *snprintf for C99 style overflow reporting -- Michael Stefaniuc Tel.: +49-711-96437-199 System Administration Fax.: +49-711-96437-111 Red Hat GmbH Email: mstefani(a)redhat.de Hauptstaetterstr. 58 http://www.redhat.de/ D-70178 Stuttgart