pkgsrc/sysutils/strace/patches/patch-al

15 lines
313 B
Text
Raw Normal View History

$NetBSD: patch-al,v 1.2 2007/04/27 19:45:01 christos Exp $
--- /dev/null 2007-04-26 23:20:40.000000000 -0400
+++ netbsd/mkerrno 2007-04-26 16:32:26.000000000 -0400
@@ -0,0 +1,9 @@
+#!/usr/bin/awk -f
+BEGIN {
+ printf("\t\"ERRNO0\",\n");
+}
+/^#define[ ]E/ {
+ if ($3 > 0) {
+ printf("\t\"%s\",\n", $2);
+ }
+}