]> git.ipfire.org Git - thirdparty/util-linux.git/commit
all_syscalls: use sed to extract defines from headers
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 16 Apr 2024 19:56:22 +0000 (21:56 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 18 Apr 2024 08:00:49 +0000 (10:00 +0200)
commit6ef0c2a6d82cb56bbdedad696734ac4fda3398cd
tree7fd88878cf75fa7e2f5e5d956fd8b7ade030f40d
parent3f37ffe68790d997e7327656a169cea8e8c5b2e7
all_syscalls: use sed to extract defines from headers

Posix-compliant awk does not seem capable of matching lines and
extracting capture groups of them.
Use sed instead.

Reported-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Link: https://lore.kernel.org/util-linux/051624b9256db27a731d62c031cb627d9f5a256e.camel@physik.fu-berlin.de/
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
(cherry picked from commit 7e8bf34a2a54b639d95c51a4a0368b0c9578d612)
configure.ac
meson.build
misc-utils/Makemodule.am
tools/all_syscalls