public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Shell Non-conformity to the Spec
@ 2017-10-24 18:20 Jim.Dailey
  2017-10-24 18:28 ` Carsey, Jaben
  0 siblings, 1 reply; 5+ messages in thread
From: Jim.Dailey @ 2017-10-24 18:20 UTC (permalink / raw)
  To: jaben.carsey, ruiyu.ni; +Cc: edk2-devel

The shell spec says that "Each environment variable has a case-sensitive
name ...".

In the EfiShellSetEnv function of ShellProtocol.c a case-insensitive
compare is performed against the variable that is to be set to see if it
is one of the read-only variables.  That means one cannot set a variable
named, for example, CWD, even though "cwd" and "CWD" are two different
variable names according to the spec.

Should this be changed to a case-sensitive comparison?

Regards,
Jim



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-10-24 20:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-24 18:20 Shell Non-conformity to the Spec Jim.Dailey
2017-10-24 18:28 ` Carsey, Jaben
2017-10-24 19:14   ` Tim Lewis
2017-10-24 20:11     ` Carsey, Jaben
2017-10-24 20:13       ` Tim Lewis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox