Subject: CVS commit: src/lib/libwrap
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 12/26/2002 14:53:59
Module Name:	src
Committed By:	lukem
Date:		Thu Dec 26 12:53:59 UTC 2002

Modified Files:
	src/lib/libwrap: hosts_access.c

Log Message:
If we're going to replace strtok() with strtok_r(), and the caller of the
latter is invoked recursively, use static (instead of automatic) storage
for the "last" pointer so that we remember where we're up to ...

Fixes bug with hosts.deny rules such as "rpcbind: ALL EXCEPT some.domain".


To generate a diff of this commit:
cvs rdiff -r1.16 -r1.17 src/lib/libwrap/hosts_access.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.