This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fix for printf format checking



  In message <vyzzpfw9mzb.fsf@issan.informatik.uni-dortmund.de>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  <schwab@issan.informatik.uni-dortmund.de>
  > 
  > 	* 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.

jeff


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]