unix: replace mksysnum_*.pl scripts with Go program

Port mksysnum_{(open|net|free)bsd,dragonfly,darwin}.pl Perl
scripts to mksysnum.go.

mkall.sh script is modified to run mksysnum.go. Running
./mkall.sh generates no git diff besides command name and
function prototype in comments of generated files.

Updates golang/go#27779

Change-Id: I534734a9c7fda186ca133ba19e14481e55832be1
Reviewed-on: https://go-review.googlesource.com/c/152677
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
This commit is contained in:
Visweswara R
2018-12-28 11:21:25 +00:00
committed by Tobias Klauser
parent b4a75ba826
commit 367055b3f9
21 changed files with 1304 additions and 1361 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
// mksysnum_netbsd.pl
// Code generated by the command above; DO NOT EDIT.
// go run mksysnum.go http://cvsweb.netbsd.org/bsdweb.cgi/~checkout~/src/sys/kern/syscalls.master
// Code generated by the command above; see README.md. DO NOT EDIT.
// +build arm,netbsd