summaryrefslogtreecommitdiffstats
path: root/pw/pwupd.c
diff options
context:
space:
mode:
authorDavid Nugent <davidn@FreeBSD.org>1996-12-21 15:35:45 +0000
committerDavid Nugent <davidn@FreeBSD.org>1996-12-21 15:35:45 +0000
commitecd99f44c4d804b6066da1e3600597cb0193e3ec (patch)
tree289dcb1b3967e8a9f062524d7bcc363855322a20 /pw/pwupd.c
parent8190d274530149353be5a67c1e345aba46555967 (diff)
downloadpw-darwin-ecd99f44c4d804b6066da1e3600597cb0193e3ec.tar.gz
pw-darwin-ecd99f44c4d804b6066da1e3600597cb0193e3ec.tar.zst
pw-darwin-ecd99f44c4d804b6066da1e3600597cb0193e3ec.zip
1) 200 users per group limitation removed and pw
will handle lines of any length in /etc/group. 2) Fixed bug with usermod -d not updating user's home directory. 3) Minor formatting display changes/fixes with *show -P.
Diffstat (limited to 'pw/pwupd.c')
-rw-r--r--pw/pwupd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pw/pwupd.c b/pw/pwupd.c
index 149d239..fb56dac 100644
--- a/pw/pwupd.c
+++ b/pw/pwupd.c
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: pwupd.c,v 1.1.1.2 1996/12/09 23:55:27 joerg Exp $
+ * $Id: pwupd.c,v 1.1.1.3 1996/12/10 23:59:02 joerg Exp $
*/
#include <stdio.h>
@@ -118,7 +118,7 @@ pw_update(struct passwd * pwd, char const * user, int mode)
{ /* No -c */
#endif
char pfx[32];
- char pwbuf[MAXPWLINE];
+ char pwbuf[PWBUFSZ];
int l = sprintf(pfx, "%s:", user);
/*