From owner-cvs-all Sun Apr 7 13:43:38 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7580337B405; Sun, 7 Apr 2002 13:43:27 -0700 (PDT) Received: (from des@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g37KhRi76699; Sun, 7 Apr 2002 13:43:27 -0700 (PDT) (envelope-from des) Message-Id: <200204072043.g37KhRi76699@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Sun, 7 Apr 2002 13:43:27 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpam/modules/pam_unix pam_unix.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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