delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/07/21:28:15

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <20000608012737.3029.qmail@web117.yahoomail.com>
Date: Wed, 7 Jun 2000 18:27:37 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: Minor /bin/sh bug
To: Paul Stodghill <stodghil AT cs DOT cornell DOT edu>,
"Cygwin Mailing List \(E-mail\)" <cygwin AT sourceware DOT cygnus DOT com>
MIME-Version: 1.0

--- Paul  Stodghill <stodghil AT cs DOT cornell DOT edu> wrote:
> I believe that I am running the latest version of everything, including the
> 6/1 snapshot
> 
> The bug is that the "type" command returns the wrong file name when given an
> absolute pathname.
> 
> 	milhouse% sh -c 'type /bin/ls'
> 	/bin/ls is /home/stodghil/bib/bin//bin/ls
> 	milhouse% bash -c 'type /bin/ls'
> 	/bin/ls is /bin/ls
> 	milhouse% 
> 

Thanks for the bug report.  This bug is within the Cygwin dll in the winsup
code.


> By the way, which shell is /bin/sh based on?
> 

A modified version of ash.  Source is available from your favorite Cygwin
mirror.

Cheers,

=====
---
   Earnie Boyd: <mailto:earnie_boyd AT yahoo DOT com>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <http://www.freeyellow.com/members5/gw32/index.html>
           __Minimalist GNU for Windows__
  Mingw32 List: <http://www.egroups.com/group/mingw32/>
    Mingw Home: <http://www.mingw.org/>

__________________________________________________
Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!
http://photos.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019