This is the mail archive of the cygwin-developers@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: A defect in the pathing routines


--- Chris Faylor <cgf@cygnus.com> wrote:
> On Wed, May 24, 2000 at 10:05:12AM -0700, Earnie Boyd wrote:
> >I've a small program which shows a problem in the pathing routines.
> >First, the problem starts because path.cc assumes that any string
> >containing a \ is a win32 path.  And if it begins with \ it assumes an
> >absolute win32 path.  IMO, this is wrong.  In the past cygwin supported
> >the backslash for the cygwin path as well.  I think it still should.
> 
> As I've previously stated, the change was made some time ago to make
> cygwin ignore the mount table when it sees a Windows path.  This is so
> that people will not be confused when they specify Windows paths.  Since
> the use of a backslash has no meaning on UNIX I don't see this as
> a terrible thing.
> 
> That means that /tmp is not necessarily equal to \tmp.

I strongly disagree.  Cygwin has always made / and \ equal when referring to
path names.  And, IMNSHO, it should continue to do so.

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!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

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