Type: New Feature
Fix Version/s: None
ReactOS Build Environment for Unix-based Operating Systems
Selected Target Architecture: i386
gcc version 4.7.2 (RosBE-Unix)
GNU ld (GNU Binutils) 184.108.40.20621208
I found that these failing tests(http://www.reactos.org/sites/all/modules/reactos/testman/detail.php?id=7048475&prev=0) are caused by a missing feature positional parameters(http://msdn.microsoft.com/en-us/library/c8c2ax31(v=vs.80).aspx) in Reactos's msvcrt implementaion.So this patch is addressing this and add support for it. I have tested it against the R58613 bootcd, and all failing tests mentioned before pass.
This patch modifies the most underlying interface streamout ,which all Reactos msvcrt printf* functions evetually resort to. It add a paramter to this interface , to indicate that if we are using positional paramters. If it is the case, we just fetch all the positional parameters from a passed-in pos_param array, which is generated by the first time parsing the format string before; if not the case, we just fall back to original path, and everything work as before.
Signed-off-by : Zhan Jianyu <email@example.com>
(This is my first time submitting to community, please excuse me if i do anything wrong.)