%Fp printf format specifier

Jesse Allen the3dfxdude at gmail.com
Wed Mar 2 13:51:47 CST 2005


On Wed, 2 Mar 2005 12:35:47 -0700, Jesse Allen <the3dfxdude at gmail.com> wrote:
> On Wed, 2 Mar 2005 20:24:27 +0100, Uwe Bonnes
> <bon at elektron.ikp.physik.tu-darmstadt.de> wrote:
> >
> >
> > Most recent CVS...
> 
> Oh, since it hits 'F' first, it will try to parse it as 'f'.  Maybe
> try this to see if it no longer accepts it as a valid specifer, and
> then maybe it will parse it as a pointer.
> 

This one is better because the other one will stop the parsing:

--- wcs.c-original      2005-02-14 16:14:01.000000000 -0700
+++ wcs.c       2005-03-02 12:51:05.000000000 -0700
@@ -555,6 +555,12 @@
             *x = out->used;
         }
 
+        /* %F is silently ignored */
+        else if( flags.Format == 'F' )
+        {
+
+        }
+
         /* deal with integers and floats using libc's printf */
         else if( pf_is_valid_format( flags.Format ) )
         {



More information about the wine-devel mailing list