Change hexadump to accept all ascii characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11093 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
1f403a8463
commit
41a24210cc
@ -5165,7 +5165,7 @@ sub hexadump {
|
||||
foreach(@$data) {
|
||||
printf("%02x ",$_);
|
||||
$alpha[$c] = sprintf("%c",$_);
|
||||
if($alpha[$c] !~ /\w/) {
|
||||
if($_ < 0x20 or $_ > 0x7e) {
|
||||
$alpha[$c] = ".";
|
||||
}
|
||||
$c++;
|
||||
|
Loading…
Reference in New Issue
Block a user