Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/getaddrinfo AF_MAX isn't an address family so don't ...
details: https://anonhg.NetBSD.org/src/rev/b486345ed992
branches: trunk
changeset: 327085:b486345ed992
user: ginsbach <ginsbach%NetBSD.org@localhost>
date: Thu Feb 27 01:17:13 2014 +0000
description:
AF_MAX isn't an address family so don't include it in the generated table.
diffstat:
usr.bin/getaddrinfo/tables.awk | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (20 lines):
diff -r 880b7b573518 -r b486345ed992 usr.bin/getaddrinfo/tables.awk
--- a/usr.bin/getaddrinfo/tables.awk Thu Feb 27 01:07:52 2014 +0000
+++ b/usr.bin/getaddrinfo/tables.awk Thu Feb 27 01:17:13 2014 +0000
@@ -1,6 +1,6 @@
#!/usr/bin/awk -f
-# $NetBSD: tables.awk,v 1.1 2013/09/30 06:19:22 riastradh Exp $
+# $NetBSD: tables.awk,v 1.2 2014/02/27 01:17:13 ginsbach Exp $
# Copyright (c) 2013 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -38,7 +38,7 @@
next
}
-$2 ~ /^AF_[A-Z0-9_]*$/ {
+($2 ~ /^AF_[A-Z0-9_]*$/) && ($2 != "AF_MAX") {
afs[n_afs++] = substr($2, 4)
}
Home |
Main Index |
Thread Index |
Old Index