Return-Path: Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 70226 invoked by uid 500); 20 Jul 2001 13:44:47 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 70215 invoked from network); 20 Jul 2001 13:44:46 -0000 X-Authentication-Warning: cobra.cs.Virginia.EDU: jcw5q owned process doing -bs Date: Fri, 20 Jul 2001 09:42:03 -0400 (EDT) From: Cliff Woolley X-X-Sender: To: Subject: Re: cvs commit: apr/user/unix userinfo.c In-Reply-To: <20010720133527.6991.qmail@icarus.apache.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On 20 Jul 2001 trawick@apache.org wrote: > trawick 01/07/20 06:35:27 > > Modified: . CHANGES > user/unix userinfo.c > Log: > > getpwnam_safe() must be provided with the struct passwd and char > buffer to provide to getpwnam_r()... otherwise, the struct passwd > and the data pointed to by it (e.g., pw_name) are no longer valid > storage when getpwnam_safe() returns Oops! Good catch. Thanks. =-) --Cliff -------------------------------------------------------------- Cliff Woolley cliffwoolley@yahoo.com Charlottesville, VA