Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Oct 1999 00:30:01 -0700 (PDT)
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/14201: setpassent() in libc does not function properly
Message-ID:  <199910080730.AAA10668@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/14201; it has been noted by GNATS.

From: Ruslan Ermilov <ru@ucb.crimea.ua>
To: "Robert Wojciechowski Jr." <robertw@wojo.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: kern/14201: setpassent() in libc does not function properly
Date: Fri, 8 Oct 1999 10:20:06 +0300

 On Fri, Oct 08, 1999 at 12:00:01AM -0700, Robert Wojciechowski Jr. wrote:
 > 
 >  The patch in this bug report does not work fully.  I patched the endpwent()
 >  function, and it works correctly now:
 >  
 >  244,246d243
 >  <     if (_pw_stayopen)
 >  <       return;
 >  <
 >  
 >  It will keep the fd open when setpassent(int stayopen) is passed 1.  It's
 >  now behaving the way it should ;)
 >  
 And endpwent() will never close the file :-(
 
 -- 
 Ruslan Ermilov		Sysadmin and DBA of the
 ru@ucb.crimea.ua	United Commercial Bank,
 ru@FreeBSD.org		FreeBSD committer,
 +380.652.247.647	Simferopol, Ukraine
 
 http://www.FreeBSD.org	The Power To Serve
 http://www.oracle.com	Enabling The Information Age
 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910080730.AAA10668>