Date: 27 Feb 2003 15:01:57 -0000 From: Scott Ballantyne <sdb@ssr.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/48748: vipw doesn't handle EDITOR='emacs -nw' properly Message-ID: <20030227150157.2062.qmail@kimchee.ssr.com>
next in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030227150157.2062.qmail>