]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Fix a few bugs, some of which I introduced in recent commits:
authorIan Dowse <iedowse@FreeBSD.org>
Thu, 2 Aug 2001 21:46:21 +0000 (21:46 +0000)
committerIan Dowse <iedowse@FreeBSD.org>
Thu, 2 Aug 2001 21:46:21 +0000 (21:46 +0000)
commit146e669b8d1452763347a67dd8c5f2c1b3b05ca2
tree5820219ef408d8a58e26e08c801ca601f759dd51
parente73bb7f1e28a2f1633342d0934efa87fdeab963c
Fix a few bugs, some of which I introduced in recent commits:
- clean_mtab():
    Actually use the strdup'd version of the host that we go to the
    trouble of creating.
- do_umntall/do_umount:
    Don't return success if clnt_create() fails.
    Don't access a client pointer after it has been destroyed.
    Remember to destroy the authentication information we created.
usr.sbin/rpc.umntall/mounttab.c
usr.sbin/rpc.umntall/rpc.umntall.c