shithub: scc

Download patch

ref: d5e318f45b7ae6fc2ed814c158d8e887ea0c1619
parent: 5edec2c057c59886f0641c178b2c2ec8de242060
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Sep 3 04:29:28 EDT 2018

[lib/c] Fix generrno.sh in linux

gawk forces to use () around function parameters in
functions, but bsd awk doesn't.

--- a/lib/c/target/script/generrno.sh
+++ b/lib/c/target/script/generrno.sh
@@ -8,5 +8,5 @@
 END {
 	for (i in errno)
 		print "#define", i, errno[i] | "sort -n -k3"
-	close "sort -n -k3"
+	close("sort -n -k3")
 }' $@