From owner-freebsd-bugs Thu Feb 27 7:10:12 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B343737B405 for ; Thu, 27 Feb 2003 07:10:10 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8949D43F93 for ; Thu, 27 Feb 2003 07:10:09 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h1RFA9NS028150 for ; Thu, 27 Feb 2003 07:10:09 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h1RFA9sH028147; Thu, 27 Feb 2003 07:10:09 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 913C337B401 for ; 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 ; 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 Reply-To: Scott Ballantyne To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/48748: vipw doesn't handle EDITOR='emacs -nw' properly Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 48748 >Category: bin >Synopsis: vipw doesn't handle EDITOR='emacs -nw' properly >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 27 07:10:09 PST 2003 >Closed-Date: >Last-Modified: >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: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message