This is the mail archive of the binutils@sources.redhat.com 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/RFA] Fix hex number parsing in dw2gencfi.c


On Mon, May 26, 2003 at 01:08:12PM -0700, Jason Thorpe wrote:

 > This patch fixes the CFI tests on i386-unknown-netbsdelf2.0.  I don't 
 > know why no one else has seen this before; maybe Linux's sscanf() is 
 > more forgiving than BSD's?
 > 
 > OK for mainline?

Actually, I withdraw this patch.  I just remembered that %i is supposed
to handle 0x... type numbers.  I guess there is a problem on my host system;
I will investigate further.

 > 
 >         * dw2gencfi.c (cfi_parse_arg): Explicitly check for positive and
 >         negative hexadecimal numbers and parse them with the appropriate
 >         sscanf format.
 > 
 >         -- Jason R. Thorpe <thorpej@wasabisystems.com>
 > 

-- 
        -- Jason R. Thorpe <thorpej@wasabisystems.com>


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