public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Editing zipped files with VIM under cygwin
Date: Sun, 11 Nov 2001 08:26:00 -0000	[thread overview]
Message-ID: <20011115124706.T27452@cygbert.vinschen.de> (raw)
In-Reply-To: <5A95B0B37820D511AD1500B0D0AADF774DDE52@lbsvnt4>; from BStrohhaecker@Hueller-Hille.com on Thu, Nov 15, 2001 at 11:57:50AM +0100

On Thu, Nov 15, 2001 at 11:57:50AM +0100, Strohhaecker, Bernd wrote:
> Seems I've been a little hasty when stating everything's ok :-(
> 
> Indeed, vim's function executable("name") returns 1 for everything, 
> also for not existing programs.
> 
> Looking at the sources I've found that:
> 
> 1. vim (6.0.93) tests the existance of 'name' in os_unix.c 
>    inside the function mch_can_exe with:
> 
>    sprintf((char *)buf, "which %s", name);
>    ...
>    retval = (*p != NUL && strstr((char *)p, "not found") == NULL);
>    return retval;
> 
> 2. which (which-1.4) returns, if the command wasn't found:
>    fprintf (stderr, "no %s in %s\n", cmd, PATH);
> 
> Which one should be changed ?
  ^^^^^

  Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  reply	other threads:[~2001-11-15 11:47 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-11  8:26 Strohhaecker, Bernd
2001-11-11  8:26 ` Corinna Vinschen [this message]
2001-11-11  8:26   ` Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2001-11-11  8:26 Strohhaecker, Bernd
2001-11-11  8:26 Strohhaecker, Bernd
2001-11-11  8:26 ` Corinna Vinschen
2001-11-01 23:45 Strohhaecker, Bernd
2001-11-02  0:58 ` Corinna Vinschen
2001-11-11  8:26   ` Corinna Vinschen
2001-11-11  8:26 ` Strohhaecker, Bernd
2001-11-01 20:30 Strohhaecker, Bernd
2001-11-01 21:14 ` Corinna Vinschen
2001-11-01 21:24   ` Michael Schaap
2001-11-11  8:26     ` Michael Schaap
2001-11-11  8:26   ` Corinna Vinschen
2001-11-11  8:26 ` Strohhaecker, Bernd
2001-11-01 10:24 Strohhaecker, Bernd
2001-11-01 10:35 ` Corinna Vinschen
2001-11-11  8:26   ` Corinna Vinschen
2001-11-11  8:26 ` Strohhaecker, Bernd

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011115124706.T27452@cygbert.vinschen.de \
    --to=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).