Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/lib/libc/inet/nsap_addr.c,v retrieving revision 1.2 retrieving revision 1.2.10.2 diff -u -p -r1.2 -r1.2.10.2 --- src/lib/libc/inet/nsap_addr.c 2004/05/20 23:12:33 1.2 +++ src/lib/libc/inet/nsap_addr.c 2007/05/17 21:25:14 1.2.10.2 @@ -1,4 +1,4 @@ -/* $NetBSD: nsap_addr.c,v 1.2 2004/05/20 23:12:33 christos Exp $ */ +/* $NetBSD: nsap_addr.c,v 1.2.10.2 2007/05/17 21:25:14 jdc Exp $ */ /* * Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC") @@ -20,9 +20,9 @@ #include #if defined(LIBC_SCCS) && !defined(lint) #if 0 -static const char rcsid[] = "Id: nsap_addr.c,v 1.2.206.1 2004/03/09 08:33:33 marka Exp"; +static const char rcsid[] = "Id: nsap_addr.c,v 1.3.18.2 2005/07/28 07:38:08 marka Exp"; #else -__RCSID("$NetBSD: nsap_addr.c,v 1.2 2004/05/20 23:12:33 christos Exp $"); +__RCSID("$NetBSD: nsap_addr.c,v 1.2.10.2 2007/05/17 21:25:14 jdc Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -40,6 +40,7 @@ __RCSID("$NetBSD: nsap_addr.c,v 1.2 2004 #include #include #include +#include #include "port_after.h" @@ -96,7 +97,7 @@ char * inet_nsap_ntoa(int binlen, const u_char *binary, char *ascii) { int nib; int i; - static char tmpbuf[2+255*3]; + char *tmpbuf = inet_nsap_ntoa_tmpbuf; char *start; _DIAGASSERT(binary != NULL); @@ -125,3 +126,5 @@ inet_nsap_ntoa(int binlen, const u_char *ascii = '\0'; return (start); } + +/*! \file */