public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* UNC Pathname Handling within Applications
@ 2004-07-15  4:15 Thorsten Haude
  2004-07-15  4:48 ` Christopher Faylor
  2004-07-15 22:58 ` Shankar Unni
  0 siblings, 2 replies; 26+ messages in thread
From: Thorsten Haude @ 2004-07-15  4:15 UTC (permalink / raw)
  To: Cygwin ML

[-- Attachment #1: Type: text/plain, Size: 1417 bytes --]

Hi,

I'm trying to find the best approach to solve a bug reported against
NEdit: 
https://sourceforge.net/tracker/index.php?func=detail&aid=873188&group_id=11005&atid=111005

The reporter complains that NEdit cannot open files from network
shares using Cygwin's double-slash notation. That is not suprising,
since NEdit silently drops any doubled slash before using the path.


I know that NEdit is not the only application ignoring multiplied
slashes, so I wonder how this is normally handled with Cygwin. Indeed,
a simple test on Linux seems to indicate that fopen() accepts any
number of slashes, so this is not isolated to NEdit.

- The user guide ("Mapping path names") does tell me something about
what's to expect but little about implementation.
- Googling brought me zilch, all involved words seem to be much too
generic to find anything, and Google does not search for slashes.
- I was also looking for another document (Posix?) to help here but
came up empty.


My questions:
- Is there any standard way to approach this problem? Has it come up
before in other applications?
- Do you know a resource which explains how Posix apps are expected to
handle paths like this?
- Does Cygwin offer another way around this problem? Could cygpath be
of any help?


Thank you very much for any pointers you can give me!


Thorsten
-- 
Auch Hunger ist Krieg.
    - Willy Brandt

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2004-07-18 10:20 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-15  4:15 UNC Pathname Handling within Applications Thorsten Haude
2004-07-15  4:48 ` Christopher Faylor
2004-07-15  5:19   ` Thorsten Haude
2004-07-15  7:25     ` Christopher Faylor
2004-07-15  7:47       ` Thorsten Haude
2004-07-15 22:58 ` Shankar Unni
2004-07-16  0:03   ` Thorsten Haude
2004-07-16  2:31     ` Larry Hall
2004-07-16 12:30       ` Thorsten Haude
2004-07-16 13:01         ` Corinna Vinschen
2004-07-16 13:35           ` Thorsten Haude
2004-07-16 13:42             ` Corinna Vinschen
2004-07-16 16:00         ` Larry Hall
2004-07-16 18:36           ` Thorsten Haude
2004-07-16 19:36             ` Larry Hall
2004-07-16 20:01               ` Thorsten Haude
2004-07-16 21:02                 ` Larry Hall
2004-07-16 21:19                   ` Thorsten Haude
2004-07-16 21:08                 ` Igor Pechtchanski
2004-07-16 21:25                 ` Christopher Faylor
2004-07-16 21:41                   ` Thorsten Haude
2004-07-17  1:53                     ` Christopher Faylor
2004-07-17  9:13                       ` Thorsten Haude
2004-07-18 10:50                         ` Hannu E K Nevalainen
2004-07-16 18:45     ` Shankar Unni
2004-07-16 20:35       ` Thorsten Haude

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).