]> git.ipfire.org Git - thirdparty/linux.git/commit
scripts/faddr2line: Set LANG=C to enforce ASCII output
authorJohn Wang <wangzq.jn@gmail.com>
Fri, 28 Mar 2025 07:38:02 +0000 (15:38 +0800)
committerJosh Poimboeuf <jpoimboe@kernel.org>
Tue, 14 Oct 2025 21:45:20 +0000 (14:45 -0700)
commit567f9c428f99560fe14e647def9f42f5344ebde9
tree0ccebc50c52b7a1bb79d2c443e61e331f2578b69
parenta808a2b35f66658e6c49dc98b55a33fa1079fe72
scripts/faddr2line: Set LANG=C to enforce ASCII output

Force tools like readelf to use the POSIX/C locale by exporting LANG=C
This ensures ASCII-only output and avoids locale-specific
characters(e.g., UTF-8 symbols or translated strings), which could
break text processing utilities like sed in the script

Signed-off-by: John Wang <wangzq.jn@gmail.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@kernel.org>
scripts/faddr2line