This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: scanf non-conformance
- To: "Joseph S. Myers" <jsm28 at cam dot ac dot uk>
- Subject: Re: scanf non-conformance
- From: Ulrich Drepper <drepper at redhat dot com>
- Date: 15 Aug 2000 09:01:04 -0700
- Cc: libc-alpha at sourceware dot cygnus dot com
- References: <Pine.SOL.4.21.0008151128510.2645-100000@red.csi.cam.ac.uk>
- Reply-To: drepper at cygnus dot com (Ulrich Drepper)
"Joseph S. Myers" <jsm28@cam.ac.uk> writes:
> Properly fixing this would require redirecting the scanf
> functions to other functions if strict conformance to either standard
> version is selected (by -std=c89 or -std=c99 without _GNU_SOURCE).
You'll only experience a problem if you use the %a format followed by
and s. It's a problem but not worth thinking about in the moment.
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------