From: dsb@osf.org (David Boyce)
Subject: Re: sscanf() bug - can't handle "0x" on hex conversions...
Date: 18 Feb 1994 00:16:42 GMT [thread overview]
Message-ID: <DSB.94Feb17191642@ets7.osf.org> (raw)
In-Reply-To: wws@sorcerer.isp.bellcore.com's message of Wed, 16 Feb 94 14:26:17 GMT
>> I've been using the sscanf() function to convert a hex string to an
>> integer, and I believe I've discovered a bug. The C Programming Language
>> book I have says that scanf() should work "with or without leading 0x or 0X."
>> That IS the case on AIX, but on OSF/1, it doesn't work unless I get rid of
>> the leading 0x. Has anyone else run into this?
>> Wayne
This bug is known and was fixed in the OSF/1 reference source tree
a year or two ago. Check with your vendor to see if it's in the
current or next release.
--
David Boyce dsb@osf.org 617-621-8963
prev parent reply other threads:[~1994-02-18 0:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-02-16 14:26 sscanf() bug - can't handle "0x" on hex conversions Wayne Scott
1994-02-18 0:16 ` David Boyce [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox