Revision: 15859
          http://sourceforge.net/p/edk2/code/15859
Author:   darylm503
Date:     2014-08-20 23:20:54 +0000 (Wed, 20 Aug 2014)
Log Message:
-----------
StdLib: reinstate the use of va_arg() to handle long double arguments in 
vfscanf.
NOTE: Replaces the previous version which was a file from the wrong project.

Applies the patch, submitted by Olivier Martin, to use va_arg for long double.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <[email protected]>
Reviewed-by: Daryl McDaniel <[email protected]>

Includes some cosmetic changes to enhance readability.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <[email protected]>
Reviewed-by: Olivier Martin <[email protected]>

Modified Paths:
--------------
    trunk/edk2/StdLib/LibC/Stdio/vfscanf.c

Modified: trunk/edk2/StdLib/LibC/Stdio/vfscanf.c
===================================================================
--- trunk/edk2/StdLib/LibC/Stdio/vfscanf.c      2014-08-20 21:55:45 UTC (rev 
15858)
+++ trunk/edk2/StdLib/LibC/Stdio/vfscanf.c      2014-08-20 23:20:54 UTC (rev 
15859)
@@ -124,8 +124,8 @@
 static int
 __collate_range_cmp(int c1, int c2)
 {
-  static char s1[2] = { {0}, {0} };
-  static char s2[2] = { {0}, {0} };
+  static char s1[2] = { 0 };
+  static char s2[2] = { 0 };
 
   s1[0] = (char)c1;
   s2[0] = (char)c2;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to