bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] readelf -x


From: Segher Boessenkool
Subject: [PATCH] readelf -x
Date: Sun, 26 Oct 2003 16:17:07 +0100 (CET)

Obvious patch.  DEL characters should not be displayed.

Please install, if approved.


Segher




2003-10-26  Segher Boessenkool  <address@hidden>

        * readelf.c (dump_section): Don't display DEL characters.




*** readelf.c~  Sun Oct 26 15:58:44 2003
--- readelf.c   Sun Oct 26 16:01:40 2003
*************** dump_section (section, file)
*** 6028,6034 ****
        for (j = 0; j < lbytes; j++)
        {
          k = data [j];
!         if (k >= ' ' && k < 0x80)
            printf ("%c", k);
          else
            printf (".");
--- 6028,6034 ----
        for (j = 0; j < lbytes; j++)
        {
          k = data [j];
!         if (k >= ' ' && k < 0x7f)
            printf ("%c", k);
          else
            printf (".");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]