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]
Other format: [Raw text]

Re: PATCH to initialize pretty_printer's line_length


Jason Merrill <jason@redhat.com> writes:

| On Thu, 11 Sep 2003 22:44:47 -0700, Per Bothner <per@bothner.com> wrote:
| 
| > It doesn't appear that the line_length field of
| > a pretty_printer is initialized anywhere.  It also
| > appears this is the cause of a problem I observed
| > in that the file+line prefix of an error message
| > wasn't being printed.
| >
| > Ok to check in?
| 
| Instead, please change the xmalloc for the buffer to use xcalloc so that
| this won't break the next time someone adds a field.

this seems better indeed.  Thanks.

-- Gaby


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