Re: double slashes in comp paths
Shane McCarron <[email protected]>
| Newsgroups | gmane.comp.web.mason.devel |
|---|---|
| Message-ID | <[email protected]> |
No... there really can't be. The only place in any file system where a double slash is significant was at the top - and then only on some tektronix UNIX systems in the early 80s. POSIX says that mutliple slashes are interpreted as a single slash, and everyone else adopted that. Jonathan Swartz wrote: >> On Nov 8, 2004, at 6:07 AM, Jonathan Swartz wrote: >> >>> Should double slashes be valid in component paths? Right now >>> mason_canonpath does not remove them, so that component paths >>> foo/bar/baz and foo/bar//baz are considered different. Are there >>> filesystems for which a doubleslash in the middle of the path is >>> significant? >> >> >> >> I believe that most Unixen will consider a double slash to be the >> same as a single slash. >> >> geertz% cd /usr/local//bin >> geertz% pwd >> /usr/local/bin >> > > I know. The question is, is there a Unixen (or other OS) that is > supported by Mason and does consider // to be different from /? > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > Mason-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mason-devel -- Shane P. McCarron Phone: +1 763 786-8160 x120 Managing Director Fax: +1 763 786-8180 ApTest Minnesota Inet: [email protected] ------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8