This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: UNC and POSIX paths


On 06/17/2013 10:35 AM, Achim Gratz wrote:
Andrew DeFaria writes:
I'm trying to understand the reluctance towards "fixing the problem"
and instead the insistence on "putting a band aid on it". So in the
above, why would you not instead do --prefix=/usr/local?
Because some scripts try to use

$(DESTDIR)/$(PREFIX)

rather than

$(DESTDIR)$(PREFIX)

or otherwise insist on adding a slash somewhere in the expansion of
directory paths without checking whether they are "" or "/".  While it'd
be preferable that these expansions be fixed, simply prepending a few
more slashes usually works when the system follows POSIX rules since
only "//" is special.
I'm confused. Let me ask a different way - why not fix such scripts instead? That's all I'm asking.
--
Andrew DeFaria <http://defaria.com>
Copywight 1994 Elmer Fudd. All wights wesewved.


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


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