Date: Wed, 29 Aug 2001 23:32:17 -0700 (PDT) From: Dima Dorfman <dd@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/pw grupd.c Message-ID: <200108300632.f7U6WHB31855@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108300632.f7U6WHB31855>