This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: silence warnings in gprof/corefile.c


Hi Ben,

2007-01-15 Ben Elliston <bje@au.ibm.com>

        * corefile.c (read_function_mappings): Check calls to fscanf and
        report any errors in parsing the mapping file.

Approved - please apply - although since you are repeating the same block of code four times, wouldn't it be easier to put the new code into a function or macro and just call that four times ?


Cheers
  Nick


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