This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Minor /bin/sh bug



--- Paul  Stodghill <stodghil@cs.cornell.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@yahoo.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@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]