Date: Sun, 7 Apr 2002 13:43:27 -0700 (PDT) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c Message-ID: <200204072043.g37KhRi76699@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
des 2002/04/07 13:43:27 PDT
Modified files:
lib/libpam/modules/pam_unix pam_unix.c
Log:
Fix bug in previous commit that passed the wrong default value to
login_getcapstr(3). Also fix a longer-standing bug (login_close(3)
frees the string returned by login_getcapstr(3)) by reorganizing the
code a little, and use login_getpwclass(3) instead of login_getclass(3)
if we already have a struct pwd.
Sponsored by: DARPA, NAI Labs
Revision Changes Path
1.29 +8 -6 src/lib/libpam/modules/pam_unix/pam_unix.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?200204072043.g37KhRi76699>
