]> git.proxmox.com Git - mirror_edk2.git/commit
ShellPkg/ShellCommandLib: Update DumpHex to print {|}~
authorJeff Westfahl <jeff.westfahl@ni.com>
Wed, 26 Apr 2017 19:59:29 +0000 (03:59 +0800)
committerRuiyu Ni <ruiyu.ni@intel.com>
Thu, 4 May 2017 07:58:44 +0000 (15:58 +0800)
commit4bf3b994e8b207fc919958b4a212a8342aaaa749
treea25b089e942b2e99c10ee7217228edbbe90a285a
parent350e9150ccc6db9b1785574c3e7f4b58c28eb45a
ShellPkg/ShellCommandLib: Update DumpHex to print {|}~

ASCII characters {|}~ should be printed by DumpHex. The problem is that
if you have a string like

    {xizzy}~{foo|bar}~{quux}

in the dumped data, it will not appear as such in the *-delimited ASCII
column to the right, but as

    .xizzy...foo.bar...quux.

which is less than ideal.

Most of the commit message was inspired by/shamelessly stolen from
Laszlo's example:

    https://lists.01.org/pipermail/edk2-devel/2017-April/010266.html

Cc: Jaben Carsey <jaben.carsey@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Westfahl <jeff.westfahl@ni.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.c