From sdb@ssr.com  Thu Feb 27 07:02:03 2003
Return-Path: <sdb@ssr.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 913C337B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Feb 2003 07:02:03 -0800 (PST)
Received: from redhotmomma.ssr.com (ns.ssr.com [199.4.235.2])
	by mx1.FreeBSD.org (Postfix) with SMTP id 6C15E43F85
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Feb 2003 07:02:02 -0800 (PST)
	(envelope-from sdb@ssr.com)
Received: (qmail 12135 invoked from network); 27 Feb 2003 15:01:57 -0000
Received: from kimchee.ssr.com (199.4.235.5)
  by ns.ssr.com with QMQP; 27 Feb 2003 15:01:57 -0000
Message-Id: <20030227150157.2062.qmail@kimchee.ssr.com>
Date: 27 Feb 2003 15:01:57 -0000
From: Scott Ballantyne <sdb@ssr.com>
Reply-To: Scott Ballantyne <sdb@ssr.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: vipw doesn't handle EDITOR='emacs -nw' properly
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         48748
>Category:       bin
>Synopsis:       vipw doesn't handle EDITOR='emacs -nw' properly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    das
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 27 07:10:09 PST 2003
>Closed-Date:    Tue Apr 08 20:34:43 PDT 2003
>Last-Modified:  Tue Apr 08 20:34:43 PDT 2003
>Originator:     Scott Ballantyne
>Release:        FreeBSD 4.7-RELEASE i386
>Organization:
ScotSoft Research
>Environment:
System: FreeBSD kimchee.ssr.com 4.7-RELEASE FreeBSD 4.7-RELEASE #4: Mon Jan 13 07:29:39 EST 2003 sdb@kimchee.ssr.com:/usr/src/sys/compile/KIMCHEE i386


>Description:
	pw_edit (called by vipw) does not properly handle EDITOR
	environment variables where the editor is specified with
	additional arguments.

>How-To-Repeat:
	EDITOR='emacs -nw' vipw

>Fix:
	The easy fix is to use sh to execute the editor
	variable. Otherwise, have to parse the arguments and add them
	to the execlp call.



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->das 
Responsible-Changed-By: das 
Responsible-Changed-When: Sat Mar 15 16:35:24 PST 2003 
Responsible-Changed-Why:  
Over to me. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48748 
State-Changed-From-To: open->patched 
State-Changed-By: das 
State-Changed-When: Sun Mar 16 18:15:48 PST 2003 
State-Changed-Why:  
Fixed in -CURRENT, awaiting possible MFC. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48748 
State-Changed-From-To: patched->closed 
State-Changed-By: das 
State-Changed-When: Tue Apr 8 20:34:22 PDT 2003 
State-Changed-Why:  
I'm not planning on MFCing this one after all. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=48748 
>Unformatted:
