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:
@@ -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')
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user