summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace/BuildClassObject.py
diff options
context:
space:
mode:
authorRuiyu Ni <ruiyu.ni@intel.com>2018-08-07 17:13:07 +0800
committerRuiyu Ni <ruiyu.ni@intel.com>2018-08-16 11:38:27 +0800
commit0e967dff0642cedaef7bc63e5743f4b081a1db9a (patch)
treeb3c0afeeef96f699ade3f493c9ad97be5ca51f40 /BaseTools/Source/Python/Workspace/BuildClassObject.py
parent855698fb69fdb85fa24c4374d07947106f4de828 (diff)
downloadedk2-0e967dff0642cedaef7bc63e5743f4b081a1db9a.tar.gz
edk2-0e967dff0642cedaef7bc63e5743f4b081a1db9a.tar.bz2
edk2-0e967dff0642cedaef7bc63e5743f4b081a1db9a.zip
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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/BuildClassObject.py')
0 files changed, 0 insertions, 0 deletions