From 7f46de1e4e8d65b46c856dc9d249730fb96e6bc9 Mon Sep 17 00:00:00 2001 From: lukem Date: Thu, 31 Mar 2005 23:58:28 +0000 Subject: [PATCH] tweak comment reminding us about lack of reentrancy --- lib/libc/gen/getgrent.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libc/gen/getgrent.c b/lib/libc/gen/getgrent.c index 91220990cf20..2e878b1a3f01 100644 --- a/lib/libc/gen/getgrent.c +++ b/lib/libc/gen/getgrent.c @@ -1,4 +1,4 @@ -/* $NetBSD: getgrent.c,v 1.54 2005/01/06 15:00:45 lukem Exp $ */ +/* $NetBSD: getgrent.c,v 1.55 2005/03/31 23:58:28 lukem Exp $ */ /*- * Copyright (c) 1999-2000, 2004-2005 The NetBSD Foundation, Inc. @@ -95,7 +95,7 @@ #if 0 static char sccsid[] = "@(#)getgrent.c 8.2 (Berkeley) 3/21/94"; #else -__RCSID("$NetBSD: getgrent.c,v 1.54 2005/01/06 15:00:45 lukem Exp $"); +__RCSID("$NetBSD: getgrent.c,v 1.55 2005/03/31 23:58:28 lukem Exp $"); #endif #endif /* LIBC_SCCS and not lint */ @@ -1306,7 +1306,7 @@ __grscan_compat(int *retval, struct group *grp, char *buffer, size_t buflen, free(state->name); /* (only check 1 grp) */ state->name = NULL; } else if (!search) { /* any group */ - /* XXXLUKEM: need to implement and use getgrent_r() */ +/* XXXREENTRANT: need to implement and use getgrent_r() */ if (searchfunc) { crv = searchfunc(searchcookie, &cgrpres);