[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
> I actually usn-ified the library, that is replaced as much as possible
> ustrcpy(), ustrcat() and usprintf() by their safer counterparts. The (big)
> patch is attached.
Commited.
I compiled and tested it under DOS, Windows and Linux. However, the patch
also modifies 3 files in src/beos and 1 file in src/qnx.
We have now to decide what to do with ustrncpy() and ustrncat(): either with
keep the current semantic (the third parameter 'n' is a number of bytes that
doesn't include the NULL character) or we change the third argument to
'size' that does include the NULL character.
--
Eric Botcazou
ebotcazou@xxxxxxxxxx