From 43170abfbd0c2858c372e7ef19f5dffe4f34137c Mon Sep 17 00:00:00 2001 From: jasper <> Date: Tue, 2 Jun 2009 16:47:50 +0000 Subject: - define EAI_OVERFLOW, as per IEEE Std 1003.1-2001(Interpretation #13) hint from claudio@, ok millert@ --- src/lib/libc/net/gai_strerror.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/libc/net/gai_strerror.c') diff --git a/src/lib/libc/net/gai_strerror.c b/src/lib/libc/net/gai_strerror.c index 767bc2f7e8..f4126413f8 100644 --- a/src/lib/libc/net/gai_strerror.c +++ b/src/lib/libc/net/gai_strerror.c @@ -1,4 +1,4 @@ -/* $OpenBSD: gai_strerror.c,v 1.6 2004/12/20 22:35:32 millert Exp $ */ +/* $OpenBSD: gai_strerror.c,v 1.7 2009/06/02 16:47:50 jasper Exp $ */ /* * Copyright (c) 1997-1999, Craig Metz, All rights reserved. @@ -70,6 +70,8 @@ gai_strerror(int errnum) return "invalid value for hints"; case EAI_PROTOCOL: return "resolved protocol is unknown"; + case EAI_OVERFLOW: + return "argument buffer overflow"; default: return "unknown/invalid error"; } -- cgit v1.2.3-55-g6feb