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: Format checking patch: remove another ad hoc conditional



  In message <Pine.LNX.4.21.0009170229110.1811-100000@kern.srcf.societies.cam.a
c.uk>you write:
  > This patch removes an ad hoc conditional from format checking: details
  > of which formats write into their arguments is now determined by a 'W'
  > flag rather than by checking explicitly for scanf or for printf %n.
  > 
  > Bootstrapped with no regressions on i686-pc-linux-gnu.  OK to commit?
  > 
  > 2000-09-16  Joseph S. Myers  <jsm28@cam.ac.uk>
  > 
  > 	* c-common.c (format_char_info): Add 'W' flag to comment.
  > 	(print_char_table, scan_char_table): Use it.
  > 	(check_format_info): Use the 'W' flag to determine whether a
  > 	format argument is written into.
Approved.  Please install.

Thanks,
jeff


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