delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/16/12:55:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,RCVD_IN_DNSWL_LOW
X-Spam-Check-By: sourceware.org
Message-ID: <4C696D6D.4040006@cwilson.fastmail.fm>
Date: Mon, 16 Aug 2010 12:55:09 -0400
From: Charles Wilson <cygwin AT cwilson DOT fastmail DOT fm>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygstart version 1.4 bug in "cygstart --reference"
References: <82fa66380806111714k6c9e1ba5m4d61bbdfc91ae343 AT mail DOT gmail DOT com>
In-Reply-To: <82fa66380806111714k6c9e1ba5m4d61bbdfc91ae343@mail.gmail.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On 6/11/2008 8:14 PM, SJ Kissane wrote:
> In cygstart 1.4, "cygstart --reference" opens a web browser to
> http://msdn.microsoft.com/library/en-us/shellcc/platform/Shell/reference/functions/shellexecute.asp
> 
> which microsoft redirects to:
> 
> http://msdn.microsoft.com/en-us/ms123402.aspx
> 
> which now 404s.
> 
> Now, from one perspective is Microsoft's fault for breaking their URLs.
> But should we rely on Microsoft not to break their website?
> Maybe that's expecting a bit too much from life :)
> 
> And this bug could be fixed, by changing the URL in the code to one
> that now works,
> http://msdn.microsoft.com/en-us/library/bb762153(VS.85).aspx
> 
> But really, shouldn't this feature just be removed?
> What is the justification for hardcoding Microsoft URLs in source code,
> given that it creates a bug every time Microsoft reorganizes their website.

It's a sort of "self-test", since it is implemented by calling the
internal cygStart() function.  I've changed the URL, but left the
--reference option in place.

--
Chuck

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019