audk/ShellPkg
Ruiyu Ni 0e967dff06 ShellPkg/set: Fix EfiShellSetEnv to use case sensitive compare
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=777

Per Shell spec, the environment variable has a case-sensitive name.
But today's implementation of EfiShellSetEnv() compares the
environment variable name case insensitively, which causes variable
like "CWD" cannot be set due to "cwd" is pre-defined variable.

The patch fixes this issue.

The EfiShellGetEnv() doesn't have such issue because it will
call into ShellFindEnvVarInList() which uses StrCmp().

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Jim Dailey <jim_dailey@dell.com>
2018-08-16 11:38:27 +08:00
..
Application ShellPkg/set: Fix EfiShellSetEnv to use case sensitive compare 2018-08-16 11:38:27 +08:00
DynamicCommand ShellPkg/Dp: Cumulate the perf data of "DB:Stop" 2018-07-26 13:37:58 +08:00
Include ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
Library ShellPkg/acpi: Fix XCODE5 X64 build failure 2018-08-07 15:24:56 +08:00
ShellPkg.dec ShellPkg: Clean up source files 2018-06-28 11:19:51 +08:00
ShellPkg.dsc ShellPkg: Remove DxeSmmPerformanceLib 2018-08-06 13:58:54 +08:00