Shumin / Tapan, Can you review this?
This makes stopping at spaces work with only zero as the value. I also attached a NSH file that can be used to verify the results. Before this the loops from 0 to 3 would only execute once as the zero was converted as 3. ShellPkg: fix string to number conversion with "0 " Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jaben Carsey <jaben.car...@intel.com>
UefiShellLib.c.patch
Description: UefiShellLib.c.patch
test.nsh
Description: test.nsh
------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/
_______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel