bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/27551] The default encoding of the strings utility does no


From: vincent-srcware at vinc17 dot net
Subject: [Bug binutils/27551] The default encoding of the strings utility does not conform to POSIX: should honor the current locale.
Date: Thu, 08 Apr 2021 20:33:53 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27551

--- Comment #10 from Vincent Lefèvre <vincent-srcware at vinc17 dot net> ---
The bug is that:

  if (encoding == 's')
    buf[0] = c & 0x7f;

So the byte 0xc0 gets changed to 0x40, which is printable.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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