www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Robert Pendell <shinji257 AT uplink DOT net> |
Subject: | Re: Suggestion for run (with patch) |
Date: | Tue, 10 Apr 2007 10:30:20 -0400 |
Lines: | 48 |
Message-ID: | <evg723$512$1@sea.gmane.org> |
References: | <7231C15EAC2F164CA6DC326D97493C8B02F8FE34 AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> <20070409145533 DOT GA8977 AT ednor DOT casa DOT cgf DOT cx> <7231C15EAC2F164CA6DC326D97493C8B02F8FE3E AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> <461AAA69 DOT 70322D19 AT dessent DOT net> <7231C15EAC2F164CA6DC326D97493C8B02F8FE44 AT exchange35 DOT fed DOT cclrc DOT ac DOT uk> |
Mime-Version: | 1.0 |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.0 |
In-Reply-To: | <7231C15EAC2F164CA6DC326D97493C8B02F8FE44@exchange35.fed.cclrc.ac.uk> |
OpenPGP: | id=D146D4B4 |
X-Antivirus: | avast! (VPS 000732-0, 04/10/2007), Outbound message |
X-Antivirus-Status: | Clean |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Adye, TJ (Tim) wrote: > Brian Dessent wrote on 09 April 2007 22:05: >> If you really want a compromise solution, you could modify >> run to not depend on cygwin1.dll at link-time but instead >> LoadLibrary() it at runtime, and if that fails fall back to >> whatever the native version would have done. Thus you get a >> single executable that understands posix paths if the DLL is >> in the PATH and still allows to you "run >> c:\cygwin\bin\bash.exe" (or whatever it is that you're >> currently doing) if the DLL is not in the PATH. Though that >> itself may cause confusion... > > That's a nice idea, but I suspect it would indeed cause more confusion > than any gain - especially when we're only talking about a 50k > executable. Imagine the program silently behaving differently if you > change the PATH. A nice "cygwin1.dll was not found" error message is > usually preferable :-) > > I hope that a separately-named (small) executable, perhaps installed > elsewhere, will be acceptable. > > Tim. > I actually agree with cgf on this one but just an idea here. If that kind of function was implemented then a warning could be placed to say something to the effect of... WARNING: cygwin1.dll was not found in the path. Using native windows paths instead. - -- Robert Pendell shinji257 AT uplink DOT net Thawte Web of Trust Notary CAcert Assurer -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) iD8DBQFGG598OzNfzNFG1LQRAt3hAJwO8knhKUAbWWJ85cbm7/7o3nU7bACgsaHK V3AqRS3bw2xcMA6ujXzmyvY= =dnsx -----END PGP SIGNATURE----- -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |