]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Unbreak group operations by reverting previous delta which removed the
authordd <dd@FreeBSD.org>
Thu, 30 Aug 2001 06:32:17 +0000 (06:32 +0000)
committerdd <dd@FreeBSD.org>
Thu, 30 Aug 2001 06:32:17 +0000 (06:32 +0000)
commitb9e2a3df4bc480b82f9905e677d60881a35dac36
tree70534dd474502a14ab8409fa1f87a3b980cff62d
parentd08cdff0421c16249eac5ae0ffc738eaf24d84d5
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.
usr.sbin/pw/grupd.c