StdLib: reinstate the use of va_arg() to handle long double arguments in vfscanf.
authorOlivier Martin <Olivier.Martin@arm.com>
Wed, 20 Aug 2014 21:11:26 +0000 (21:11 +0000)
committerdarylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 20 Aug 2014 21:11:26 +0000 (21:11 +0000)
commit9792ff7c5d0d35b5fff06453a623dce80a2754e8
treeb8912fed785f0d3252eeb26c880ec2ad78e09e33
parentdfa8858555070f08ba9df2c2dde837f8c7620b51
StdLib: reinstate the use of va_arg() to handle long double arguments in vfscanf.

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 <Olivier.Martin@arm.com>
Reviewed-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
Also initializes an array so that strings will be properly terminated.
Includes some cosmetic changes to enhance readability.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com>
Reviewed-by: Olivier Martin <Olivier.Martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15856 6f19259b-4bc3-4df7-8a09-765794883524
StdLib/LibC/Stdio/vfscanf.c