Fix for printf format checking
Jeffrey A Law
Tue Jun 2 22:00:00 GMT 1998
In message < firstname.lastname@example.org >you write:
> It seems like someone has thrown out the check for the `hh' length
> modifier in check_format_info while merging in other changes, or whatever.
> I have also extended it to check for %n writing into a const type.
> 1998-05-31 Andreas Schwab <email@example.com>
> * c-common.c (check_format_info): Put back check for C9x `hh'
> length modifier. Warn about %n format writing into const. Remove
> obsolete comment.
> (format_char_info): Fix comments.
Might have been lost in the gcc2 -> egcs merge. This code was full of
conflicts. I thought I got them all resolved correctly, but I might
have goof'd one.
The patch seems reasonable to me. Please install it.
More information about the Gcc-patches