Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Oct 2012 04:30:01 GMT
From:      Mark Johnston <markjdb@gmail.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/173005: PW(8) - &#39;pw usermod&#39; causes Segmentation fault: 11 (core dumped)
Message-ID:  <201210290430.q9T4U1nN067766@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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) - &#39;pw usermod&#39; 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210290430.q9T4U1nN067766>