Use .txt as the extension of arch syscall lists

This makes it easier to filter those files and tells editors that they should
be treated as plain text.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-01-27 14:00:07 +01:00
parent 984b529684
commit 1f6f8cc803
18 changed files with 2 additions and 2 deletions

View file

@ -365,7 +365,7 @@ syscall_list_txt = files('syscall-list.txt')
syscall_lists = []
foreach arch: arch_list
syscall_lists += files('syscalls-@0@'.format(arch))
syscall_lists += files('syscalls-@0@.txt'.format(arch))
endforeach
missing_syscalls_py = find_program('missing_syscalls.py')

View file

@ -7,5 +7,5 @@ cd "$1" && shift
curl --fail -L -o syscall-list.txt 'https://raw.githubusercontent.com/hrw/syscalls-table/master/syscall-names.text'
for arch in "$@"; do
curl --fail -L -o syscalls-$arch "https://raw.githubusercontent.com/hrw/syscalls-table/master/tables/syscalls-$arch"
curl --fail -L -o syscalls-$arch.txt "https://raw.githubusercontent.com/hrw/syscalls-table/master/tables/syscalls-$arch"
done