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 Saturday, May 31, 2003, at 06:04 PM, Richard Henderson wrote:


On Mon, May 26, 2003 at 01:39:38PM -0700, Jason R Thorpe wrote:
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.

While true, I think this whole section should be written with strtol, not sscanf.

Well, it did turn out to be a bug in the 4.4BSD stdio (a FreeBSD system on the HP TestDrive also had the problem). I've installed a fixed libc on my systems, so it's no longer an issue for me, and as such, I am unlikely to be motivated to rewrite that chunk of code :-)


-- 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]