Re: bin/173005: PW(8) - 'pw usermod' causes Segmentation
The following reply was made to PR bin/173005; it has been noted by GNATS.
From: Mark Johnston <markjdb@gmail.com>
To: bug-followup@FreeBSD.org, jb.1234abcd@gmail.com
Cc:
Subject: Re: bin/173005: PW(8) - 'pw usermod' causes Segmentation
fault: 11 (core dumped)
Date: Mon, 29 Oct 2012 00:15:55 -0400
The error messages aren't different by design though - the different
behaviour for -g "" is a side-effect of the change I mentioned in the
first email. There is no practical distinction between those two errors
anyway - they come from two essentially identical checks at different points
in the code.
In fact, the "... is not defined" check is redundant and can be
removed/simplified if my patch is applied. Specifically, that check only
fails with -g "" in the unpatched pw(8).
-Mark
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 5 之 6 篇):