Date: Sat, 12 May 2001 17:07:03 -0700 (PDT) From: Ian Dowse <iedowse@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/mount_nfs mount_nfs.c Message-ID: <200105130007.f4D074609257@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
iedowse 2001/05/12 17:07:03 PDT
Modified files:
sbin/mount_nfs mount_nfs.c
Log:
- Split out the {family,socktype}->netid conversion into a separate
function; we now handle unknown protocols more gracefully.
- Cache the return from getnetconfigent() so that we don't have to
remember to call freenetconfigent() each time. This fixes a memory
leak that would cause retrying background mount_nfs processes to
slowly increase their memory usage.
Revision Changes Path
1.43 +80 -12 src/sbin/mount_nfs/mount_nfs.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105130007.f4D074609257>
