This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: UNC and POSIX paths
- From: Andrew DeFaria <Andrew at DeFaria dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 17 Jun 2013 11:45:53 -0700
- Subject: Re: UNC and POSIX paths
- References: <003501ce6b5f$b41f2c10$1c5d8430$%fedin at samsung dot com> <kpn4kk$p88$1 at ger dot gmane dot org> <036c01ce6b6d$0ada5090$208ef1b0$ at malth dot us> <kpnfp7$urd$1 at ger dot gmane dot org> <03b201ce6b83$c5b62720$51227560$ at malth dot us>
On 06/17/2013 10:54 AM, gmt@malth.us wrote:
As to why not fix the upstreams committing these atrocities, it's the
obvious reason -- occasionally one encounters a large body of dense,
non-fixable-by-sed/perl, poorly commented "spaghetti" script-code that
makes "clever," deep usage of the assumption that "//" == "/". Being
able to turn this feature off at one's option would enable them to
rule out "//" as a problem when they suspect it might be, and have the
additional benefit of not having to fix such code, in order to run it.
-gmt
If upstream code is broken it's broken. You can 1) fix it and submit it
as a patch or 2) don't fix it and find a better solution.
Stripping off additional '/''s is not that hard a problem to solve -
even in spaghetti code.
--
Andrew DeFaria <http://defaria.com>
I just got skylights put in my place. The people who live above me are
furious!
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple