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: cygnus bugs


franl@world.std.omit-this.com (Francis Litterio) writes:

>[Fergus Henderson wrote:]
>
>> Tim Newsham <newsham@aloha.net> writes:
>> 
>> >- cygwin does not properly transform command line path names across
>> >  mount points.  If I am on drive "D:" and type "vi /tmp/foo",
>> >  I end up editing "D:\tmp\foo" and not "C:\tmp\foo" even though
>> >  "/tmp" is on "C:".  (vi is not compiled with cygwin).
>> >  Cygwin should transform the path to "C:\tmp\foo" for the benefit
>> >  of non-cygwin applications.
>> 
>> How can cygwin know which arguments are pathnames and which are
>> just ordinary strings that should not be transformed in this manner?
>
>Cygwin can know because the strings that are pathnames are passed to
>open(), [...]

No, in the case that Tim Newsham was referring to, "vi is not compiled
with cygwin", and so the strings that are pathnames are not passed
to cygwin's open().

--
Fergus Henderson <fjh@cs.mu.oz.au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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