From owner-cvs-all Wed Aug 29 23:32:26 2001 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 15D5A37B406; Wed, 29 Aug 2001 23:32:18 -0700 (PDT) (envelope-from dd@FreeBSD.org) Received: (from dd@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7U6WHB31855; Wed, 29 Aug 2001 23:32:18 -0700 (PDT) (envelope-from dd) Message-Id: <200108300632.f7U6WHB31855@freefall.freebsd.org> From: Dima Dorfman Date: Wed, 29 Aug 2001 23:32:17 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pw grupd.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 dd 2001/08/29 23:32:17 PDT Modified files: usr.sbin/pw grupd.c Log: Unbreak group operations by reverting previous delta which removed the assignment of `l' in `gr_update' to the return value of snprintf. It claimed to have fixed the case where snprintf returned -1--in fact, it broke the entire routine. Not setting `l' here causes fileupdate() to invariably fail with EINVAL because it does its own check to assert that the parameter isn't -1. Revision Changes Path 1.10 +2 -2 src/usr.sbin/pw/grupd.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message