[email protected]
[Top] [All Lists]

Bug#219386: marked as forwarded (E91: 'shell' option is empty)

Subject: Bug#219386: marked as forwarded E91: 'shell' option is empty
From: Debian Bug Tracking System
Date: Sun, 16 Oct 2005 09:33:13 -0700
Your message dated Sun, 16 Oct 2005 18:27:50 +0200
with message-id <[email protected]>
has caused the Debian Bug report #219386,
regarding E91: 'shell' option is empty
to be marked as having been forwarded to the upstream software
author(s) [email protected]

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at 219386-forwarded) by bugs.debian.org; 16 Oct 2005 16:27:54 +0000
>From [email protected] Sun Oct 16 09:27:54 2005
Return-path: <[email protected]>
Received: from sockmel.bononia.it [] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1ERBMY-00071S-00; Sun, 16 Oct 2005 09:27:54 -0700
Received: by sockmel.bononia.it (Postfix, from userid 1004)
        id 1334156D4A; Sun, 16 Oct 2005 18:27:50 +0200 (CEST)
Date: Sun, 16 Oct 2005 18:27:50 +0200
From: Stefano Zacchiroli <[email protected]>
To: [email protected]
Cc: [email protected],
        [email protected]
Subject: system() failing when SHELL is empty
Message-ID: <[email protected]>
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="opJtzjQTFsWo+cga"
Content-Disposition: inline
User-Agent: Mutt/1.5.9i
Delivered-To: [email protected]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 

Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi Bram,
  a Debian user reported a problem origined by the choice of setting vim
variable 'shell' to the value of the environment variable SHELL, if

Unfortunately, if SHELL is set to the empty string, vim system()
function complains about empty 'shell' variable and doesn't work

What do you think of treating the case of empty SHELL variable as if no
SHELL variable is defined at all? The attached patch implement this


Stefano Zacchiroli  --  Master in Computer Science @ Uni. Bologna, Italy
[email protected]{cs.unibo.it,debian.org,bononia.it}  -  http://www.bononia.it/zack/
"  I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!  " -- G.Romney

Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="303_option.c.diff"

diff -urN vim64/src/option.c vim64.new/src/option.c
--- vim64/src/option.c  2005-10-08 16:27:46.000000000 +0200
+++ vim64.new/src/option.c      2005-10-16 17:56:15.007237360 +0200
@@ -2512,7 +2512,8 @@
 # endif
-       set_string_default("sh", p);
+       if (strlen(p) != 0)
+           set_string_default("sh", p);


To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

<Prev in Thread] Current Thread [Next in Thread>
  • Bug#219386: marked as forwarded (E91: 'shell' option is empty), Debian Bug Tracking System <=