Skip to contentSkip to conversation

bpf: Use C locale when determining Linux headers

PATCH New James Le Cuirot 1 participant 1 message Nov 30, 2025 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bpf: Use C locale when determining Linux headers

Otherwise the sed pattern may not match.

---
 utils/keytable/bpf_protocols/cc_sys_includes.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
utils/keytable/bpf_protocols/cc_sys_includes.sh +1 -1
index 0a8fa277..902b704e 100755
@@ -6,5 +6,5 @@
 #
 # Use '-idirafter': Don't interfere with include mechanics except where the
 # build would have failed anyways.
-"$@" -v -E - </dev/null 2>&1 \
+LC_ALL=C "$@" -v -E - </dev/null 2>&1 \
 	| sed -n '/<...> search starts here:/,/End of search list./{ s| \(/.*\)|-idirafter \1|p }'

--
2.52.0